Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mcapi::s_restore_initial_state() renamed to mcapi::restore_initial_state()
[simgrid.git] / src / mc / checker / SafetyChecker.cpp
index 9ba128f..19a3d16 100644 (file)
@@ -47,7 +47,7 @@ void SafetyChecker::check_non_termination(const State* current_state)
       for (auto const& s : checker->get_textual_trace())
         XBT_INFO("  %s", s.c_str());
       mcapi::get().mc_dump_record_path();
-      mcapi::get().s_log_state();
+      mcapi::get().log_state();
 
       throw TerminationError();
     }
@@ -173,7 +173,7 @@ void SafetyChecker::run()
   }
 
   XBT_INFO("No property violation found.");
-  mcapi::get().s_log_state();
+  mcapi::get().log_state();
 }
 
 void SafetyChecker::backtrack()
@@ -256,7 +256,7 @@ void SafetyChecker::restore_state()
   }
 
   /* Restore the initial state */
-  mcapi::get().s_restore_initial_state();
+  mcapi::get().restore_initial_state();
 
   /* Traverse the stack from the state at position start and re-execute the transitions */
   for (std::unique_ptr<State> const& state : stack_) {