Fixing issue building dag with states where states were not properly transfered
This commit is contained in:
1 parent
3866332e77
commit
0ee198e3e7
2 files changed
+4
-15
No files matched your search
@@ -121,7 +121,7 @@ namespace daggy {
|
||||
void DAG<K, V>::resetRunning()
|
||||
{
|
||||
for (auto &v : vertices_) {
|
||||
if (v.state != +RunState::RUNNING)
|
||||
if (v.state == +RunState::COMPLETED)
|
||||
continue;
|
||||
v.state = RunState::QUEUED;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user