Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
These lines belong to the outer loop.
[simgrid.git] / 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;