X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0cfb40d124549f4dde6f00095847de0d04828adf..0a82e90d4cfdd7e27e1b946d22aff74a5abdda99:/src/mc/SafetyChecker.cpp diff --git a/src/mc/SafetyChecker.cpp b/src/mc/SafetyChecker.cpp index 5e106adb04..4064b6aaf4 100644 --- a/src/mc/SafetyChecker.cpp +++ b/src/mc/SafetyChecker.cpp @@ -174,7 +174,6 @@ int SafetyChecker::run() XBT_INFO("No property violation found."); simgrid::mc::session->logState(); - initial_global_state = nullptr; return SIMGRID_MC_EXIT_SUCCESS; } @@ -293,7 +292,7 @@ void SafetyChecker::init() XBT_INFO("Check non progressive cycles"); else XBT_INFO("Check a safety property"); - mc_model_checker->wait_for_requests(); + simgrid::mc::session->initialize(); XBT_DEBUG("Starting the safety algorithm"); @@ -312,10 +311,6 @@ void SafetyChecker::init() } stack_.push_back(std::move(initial_state)); - - /* Save the initial state */ - initial_global_state = std::unique_ptr(new s_mc_global_t()); - initial_global_state->snapshot = simgrid::mc::take_snapshot(0); } SafetyChecker::SafetyChecker(Session& session) : Checker(session)