X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/718cf4ba4da6d6032f60d8c4c432807b9c018185..eb3ad7bf1f83d355e938a83cf02f78bc898eefbb:/src/mc/mc_checkpoint.c diff --git a/src/mc/mc_checkpoint.c b/src/mc/mc_checkpoint.c index 2937f65471..abd70f6fe8 100644 --- a/src/mc/mc_checkpoint.c +++ b/src/mc/mc_checkpoint.c @@ -517,7 +517,7 @@ mc_snapshot_t MC_take_snapshot(int num_state){ if(_sg_mc_visited > 0 || strcmp(_sg_mc_property_file,"")){ snapshot->stacks = MC_take_snapshot_stacks(&snapshot, snapshot->regions[0]->data); - if(MC_USE_SNAPSHOT_HASH && snapshot->stacks!=NULL) { + if(_sg_mc_hash && snapshot->stacks!=NULL) { snapshot->hash = mc_hash_processes_state(num_state, snapshot->stacks); } else { snapshot->hash = 0;