Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : fix dpor
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Sat, 16 Mar 2013 21:32:06 +0000 (22:32 +0100)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Sat, 16 Mar 2013 21:32:06 +0000 (22:32 +0100)
src/mc/mc_dpor.c

index bab05aa..c52988b 100644 (file)
@@ -28,7 +28,7 @@ static void visited_state_free_voidp(void *s){
 static int is_visited_state(){
 
   if(_sg_mc_visited == 0)
 static int is_visited_state(){
 
   if(_sg_mc_visited == 0)
-    return 0;
+    return -1;
 
   int raw_mem_set = (mmalloc_get_current_heap() == raw_heap);
 
 
   int raw_mem_set = (mmalloc_get_current_heap() == raw_heap);