debug
authorAnatoly <Titov_AI@pnpi.nrcki.ru>
Fri, 2 Oct 2020 12:33:00 +0000 (15:33 +0300)
committerAnatoly <Titov_AI@pnpi.nrcki.ru>
Fri, 2 Oct 2020 12:33:00 +0000 (15:33 +0300)
src/corrtype.cpp

index 9350951cea144ae93d90b8f3dbce31db0f7e1ab4..b652956f693c84d9492da5586bb6aa96be030876 100644 (file)
@@ -34,16 +34,25 @@ void correlationType::setDefaults(const std::vector< RVec > &ref, int wnd, int t
 }
 
 void correlationType::update(const int frameNum, const std::vector< RVec > &curFrame) {
+    std::cout << "\t ola001";
     trajectory.push_back(curFrame);
+    std::cout << "\t ola002";
     size_t temp = window + tau;
-    std::cout << "\t" << temp;
+    std::cout << "\t ola003";
     if (trajectory.size() == temp + 1) {
+        std::cout << "\t ola003.1";
         trajectory.erase(trajectory.begin());
+        std::cout << "\t ola003.2";
     }
+    std::cout << "\t ola004";
     if (mode == 1) {
+        std::cout << "\t ola005";
         if ( ((frameNum - temp + 1) >= 0) && ((frameNum - temp + 1) % tauStep == 0)) {
+            std::cout << "\t ola006";
             correlationEval();
+            std::cout << "\t ola007";
             selections.erase(selections.begin());
+            std::cout << "\t ola008";
             std::cout << "\n\t\tcorrEval successful\n" << std::endl;
         }
     }