Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : use the right heap
authorMarion Guthmuller <marion.guthmuller@inria.fr>
Tue, 3 Jun 2014 16:14:09 +0000 (18:14 +0200)
committerMarion Guthmuller <marion.guthmuller@inria.fr>
Tue, 3 Jun 2014 16:15:10 +0000 (18:15 +0200)
src/mc/mc_comm_determinism.c

index a986715..37a6f90 100644 (file)
@@ -415,6 +415,7 @@ void MC_modelcheck_comm_determinism(void)
             XBT_INFO("Communications pattern counter-example:");
             print_communications_pattern(communications_pattern);
             MC_print_statistics(mc_stats);
+            MC_SET_STD_HEAP;
             return;
           } else if (initial_global_state->send_deterministic == 0
                      && _sg_mc_send_determinism) {
@@ -429,6 +430,7 @@ void MC_modelcheck_comm_determinism(void)
             XBT_INFO("Communications pattern counter-example:");
             print_communications_pattern(communications_pattern);
             MC_print_statistics(mc_stats);
+            MC_SET_STD_HEAP;
             return;
           }
         } else {