Skip to content

Commit b4a9e20

Browse files
authored
Stage::reset() should reset total_compute_time_ (#310)
1 parent ed45970 commit b4a9e20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/stage.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ void Stage::reset() {
316316
impl->next_starts_.reset();
317317
// reset inherited properties
318318
impl->properties_.reset();
319+
impl->total_compute_time_ = std::chrono::duration<double>::zero();
319320
}
320321

321322
void Stage::init(const moveit::core::RobotModelConstPtr& /* robot_model */) {

0 commit comments

Comments
 (0)