Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
These lines belong to the outer loop.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 20 Aug 2017 17:15:49 +0000 (19:15 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 20 Aug 2017 17:15:49 +0000 (19:15 +0200)
src/simdag/sd_daxloader.cpp

index 17ce94e..7c68ee3 100644 (file)
@@ -122,9 +122,9 @@ bool acyclic_graph_detail(xbt_dynar_t dag){
           if (parents_are_marked(succ))
             next.push_back(succ);
         }
-        current.clear();
-        current = next;
       }
+      current.clear();
+      current = next;
     }
 
     all_marked = true;