Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mc_api::get_dynar_length() defined and called in run()
[simgrid.git] / src / mc / checker / LivenessChecker.cpp
index 0b0aa17..a1009eb 100644 (file)
@@ -403,7 +403,7 @@ void LivenessChecker::run()
 
     // For each enabled transition in the property automaton, push a
     // (application_state, automaton_state) pair to the exploration stack:
-    for (int i = xbt_dynar_length(current_pair->automaton_state->out) - 1; i >= 0; i--) {
+    for (int i = mcapi::get().get_dynar_length(current_pair->automaton_state->out) - 1; i >= 0; i--) {
       const xbt_automaton_transition* transition_succ =
           xbt_dynar_get_as(current_pair->automaton_state->out, i, xbt_automaton_transition_t);
       if (evaluate_label(transition_succ->label, *prop_values))