]> rtime.felk.cvut.cz Git - hubacji1/rrts.git/blobdiff - src/rrtext12.cc
F 2f8da47
[hubacji1/rrts.git] / src / rrtext12.cc
index 1565faf91258ffa1d43f861286299ac3092402df..4b66370d1b42549ecf389f66ba125f808bd901f8 100644 (file)
@@ -74,7 +74,7 @@ bool RRTExt12::next()
         if (this->icnt_ == 0)
                 this->tstart_ = std::chrono::high_resolution_clock::now();
         bool next = true;
-        if (this->scnt_ > this->log_path_time_)
+        if (this->icnt_ > this->log_path_iter_)
             this->log_path_cost();
         if (this->should_stop())
                 return false;