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

Public GIT Repository
There is no need to declare the default constructors here.
[simgrid.git] / src / mc / explo / LivenessChecker.cpp
index 071c1e4cae03d2a86c424f68a6bf87e537ab81ec..1cd43885b7193d5b12db7b475fae3b86c9bf3516 100644 (file)
@@ -289,7 +289,8 @@ std::vector<std::string> LivenessChecker::get_textual_trace() // override
 {
   std::vector<std::string> trace;
   for (std::shared_ptr<Pair> const& pair : exploration_stack_)
-    trace.push_back(pair->app_state_->get_transition()->to_string());
+    if (pair->app_state_->get_transition() != nullptr)
+      trace.push_back(pair->app_state_->get_transition()->to_string());
 
   return trace;
 }