]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/explo/simgrid_mc.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
A few calls to mc_model_checker less by passing more parameters
[simgrid.git] / src / mc / explo / simgrid_mc.cpp
index 00debdc8d78c808e28cac7af6657632452cbcd50..f1525fee996a959325eb7a6ee6a63f7055c8e100 100644 (file)
@@ -21,7 +21,7 @@ int main(int argc, char** argv)
   xbt_assert(argc >= 2, "Missing arguments");
 
   // Currently, we need this before sg_config_init:
-  simgrid::mc::cfg_do_model_check = true;
+  simgrid::mc::model_checking_mode = simgrid::mc::ModelCheckingMode::CHECKER_SIDE;
 
   // The initialization function can touch argv.
   // We make a copy of argv before modifying it in order to pass the original value to the model-checked application: