X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2bd9a37bbb72eac4ed613b3d6953aba6555e2e92..923896223efc203372ce0a7435cbdb7b539149f6:/src/mc/mc_visited.c?ds=inline diff --git a/src/mc/mc_visited.c b/src/mc/mc_visited.c index 77548d8330..941a780abd 100644 --- a/src/mc/mc_visited.c +++ b/src/mc/mc_visited.c @@ -230,7 +230,7 @@ mc_visited_state_t is_visited_state(mc_state_t graph_state) are incomplete and they cannot be analyzed and compared with the initial pattern. */ if (_sg_mc_comms_determinism || _sg_mc_send_determinism) { int current_process = 1; - while (current_process < simix_process_maxpid) { + while (current_process < MC_smx_get_maxpid()) { if (!xbt_dynar_is_empty((xbt_dynar_t)xbt_dynar_get_as(incomplete_communications_pattern, current_process, xbt_dynar_t))){ XBT_DEBUG("Some communications are not finished, cannot stop the exploration ! State not visited."); partial_comm = 1;