X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/25f00868d318a0c49b4965ea9dea9a78bc349365..b3b553ed36fe1119ceee50c0c6c5ac1cc6d47fd3:/src/simix/smx_host.cpp diff --git a/src/simix/smx_host.cpp b/src/simix/smx_host.cpp index 592a10156a..9b81242085 100644 --- a/src/simix/smx_host.cpp +++ b/src/simix/smx_host.cpp @@ -370,7 +370,7 @@ double SIMIX_execution_get_remains(smx_synchro_t synchro) double result = 0.0; if (synchro->state == SIMIX_RUNNING) - result = surf_action_get_remains(synchro->execution.surf_exec); + result = synchro->execution.surf_exec->getRemains(); return result; }