Skip to content

Commit

Permalink
dbl
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Mar 25, 2022
1 parent 312998f commit b5ff1bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/amici.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ AmiciApplication::runAmiciSimulation(Solver& solver,
bwd_success ? bwd.get() : nullptr,
posteq.get(), model, solver, edata);

rdata->cpu_time_total = (clock() - start_time_total) * 1000.0
/ CLOCKS_PER_SEC;
rdata->cpu_time_total = static_cast<double>(clock() - start_time_total)
* 1000.0 / CLOCKS_PER_SEC;

return rdata;
}
Expand Down

0 comments on commit b5ff1bf

Please sign in to comment.