Fix a typo
authorweiyu <weiyuluo1232@gmail.com>
Thu, 31 Oct 2019 23:28:22 +0000 (16:28 -0700)
committerweiyu <weiyuluo1232@gmail.com>
Thu, 31 Oct 2019 23:28:22 +0000 (16:28 -0700)
cyclegraph.cc

index e56c912..7903098 100644 (file)
@@ -81,7 +81,7 @@ void CycleGraph::addNodeEdge(CycleNode *fromnode, CycleNode *tonode, bool forcee
 
        /* Propagate clock vector changes */
        if (tonode->cv->merge(fromnode->cv)) {
-               queue->push_back(fromnode);
+               queue->push_back(tonode);
                while(!queue->empty()) {
                        const CycleNode *node = queue->back();
                        queue->pop_back();