Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Well the last rogue call to RemoteProcess::actors() was easy actually
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Sat, 30 Jul 2022 20:15:05 +0000 (22:15 +0200)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Sat, 30 Jul 2022 20:38:54 +0000 (22:38 +0200)
src/mc/explo/LivenessChecker.cpp

index fb8d9f3..bcaabb3 100644 (file)
@@ -26,7 +26,7 @@ VisitedPair::VisitedPair(int pair_num, xbt_automaton_state_t prop_state,
   if (not this->app_state_->get_system_state())
     this->app_state_->set_system_state(std::make_shared<Snapshot>(pair_num));
   this->heap_bytes_used     = Api::get().get_remote_heap_bytes();
   if (not this->app_state_->get_system_state())
     this->app_state_->set_system_state(std::make_shared<Snapshot>(pair_num));
   this->heap_bytes_used     = Api::get().get_remote_heap_bytes();
-  this->actor_count_        = mc_model_checker->get_remote_process().actors().size();
+  this->actor_count_        = app_state_->get_actor_count();
   this->other_num           = -1;
   this->atomic_propositions = std::move(atomic_propositions);
 }
   this->other_num           = -1;
   this->atomic_propositions = std::move(atomic_propositions);
 }