Skip to content

Commit

Permalink
Fix step time conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
sethrj committed Dec 18, 2023
1 parent 9f16184 commit 78aef0c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/celer-sim/Transporter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,13 @@ auto Transporter<M>::operator()(SpanConstPrimary primaries)

get_step_time = {};
track_counts = step();

if (store_track_counts_)
{
append_track_counts(track_counts);
}
if (store_step_times_)
{
result.step_times.push_back(get_step_time());
}
}
Expand Down

0 comments on commit 78aef0c

Please sign in to comment.