Commit e1f7670b authored by fmg005's avatar fmg005

return float value for simulation duration

parent 675697fe
......@@ -9,5 +9,5 @@ Timer::Timer() {
Timer::~Timer() {
end_timer = steady_clock::now();
duration = duration_cast<milliseconds>(end_timer-start_timer).count();
std::cout<<"The simulation ran for "<< duration/1000 <<"s\n";
std::cout<<"The simulation ran for "<< ((double)duration)/1000 <<"s\n";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment