From 7ce71f3a03c26ece08f8f92abd8648e8cada11d4 Mon Sep 17 00:00:00 2001 From: Jiri Vlasak Date: Mon, 3 May 2021 19:25:21 +0200 Subject: [PATCH] F 2f8da47 --- src/rrtext12.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrtext12.cc b/src/rrtext12.cc index 1565faf..4b66370 100644 --- a/src/rrtext12.cc +++ b/src/rrtext12.cc @@ -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; -- 2.39.2