- looking into an issue
authorAnatoly <Titov_AI@pnpi.nrcki.ru>
Fri, 2 Oct 2020 12:25:31 +0000 (15:25 +0300)
committerAnatoly <Titov_AI@pnpi.nrcki.ru>
Fri, 2 Oct 2020 12:25:31 +0000 (15:25 +0300)
src/corrtype.cpp

index be95916ccc2a421472ed5e67df026544a63203a8..f83e7253a3a465ee8031faf1dd9a2367567c668d 100644 (file)
@@ -40,7 +40,8 @@ void correlationType::update(const int frameNum, const std::vector< RVec > &curF
         trajectory.erase(trajectory.begin());
     }
     if (mode == 1) {
-        if ((frameNum - temp + 1) % window == 0) {
+        if ((frameNum - temp + 1) % tauStep == 0) {
+            std::cout << frameNum << " " << window << " " << tau << " " << tauStep << "\n";
             correlationEval();
             selections.erase(selections.begin());
             std::cout << "\n\t\tcorrEval successful\n" << std::endl;