X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0cfb40d124549f4dde6f00095847de0d04828adf..0a82e90d4cfdd7e27e1b946d22aff74a5abdda99:/src/mc/mc_global.cpp diff --git a/src/mc/mc_global.cpp b/src/mc/mc_global.cpp index 1b1afcee21..c1b88d16f1 100644 --- a/src/mc/mc_global.cpp +++ b/src/mc/mc_global.cpp @@ -137,7 +137,7 @@ void replay(std::list> const& stack) /* Restore the initial state */ - simgrid::mc::restore_snapshot(simgrid::mc::initial_global_state->snapshot); + simgrid::mc::session->restoreInitialState(); if (_sg_mc_comms_determinism || _sg_mc_send_determinism) { // int n = xbt_dynar_length(incomplete_communications_pattern);