Skip to content
Snippets Groups Projects
Commit ceee37a8 authored by Pospelov, Gennady's avatar Pospelov, Gennady
Browse files

Fix Windows complain about narrowed conversion

parent be837c57
No related branches found
No related tags found
No related merge requests found
...@@ -198,5 +198,5 @@ MultiThreadPerformanceTest::test_case(const std::string& sim_type, int nrepetiti ...@@ -198,5 +198,5 @@ MultiThreadPerformanceTest::test_case(const std::string& sim_type, int nrepetiti
for (int i_rep = 0; i_rep < nrepetitions; i_rep++) for (int i_rep = 0; i_rep < nrepetitions; i_rep++)
simulation->runSimulation(); simulation->runSimulation();
return {sim_type, nrepetitions, nthreads, duration(now() - start_time), 0.0}; return {sim_type, nrepetitions, nthreads, static_cast<int>(duration(now() - start_time)), 0.0};
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment