X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cf975a3147956b454a79d81f3557a13ba7800083..631bc9b9e226d64cbd1cf912d2ef48805334f7d4:/src/surf/cpu_interface.cpp diff --git a/src/surf/cpu_interface.cpp b/src/surf/cpu_interface.cpp index fe032014ef..b3afee5483 100644 --- a/src/surf/cpu_interface.cpp +++ b/src/surf/cpu_interface.cpp @@ -34,9 +34,6 @@ void CpuModel::updateActionsStateLazy(double now, double /*delta*/) action->finish(kernel::resource::Action::State::done); XBT_CDEBUG(surf_kernel, "Action %p finished", action); - - /* set the remains to 0 due to precision problems when updating the remaining amount */ - action->set_remains(0); } if (TRACE_is_enabled()) { //defining the last timestamp that we can safely dump to trace file