diff --git a/src/VariableDependencyGraph.cc b/src/VariableDependencyGraph.cc index f0187704d6c349f38df01c1af49ffb163be135c6..c1de21f85ad20805a8d3b24ca5dcf6947af185ee 100644 --- a/src/VariableDependencyGraph.cc +++ b/src/VariableDependencyGraph.cc @@ -391,7 +391,7 @@ VariableDependencyGraph::reorderRecursiveVariables(const set<int> &feedback_vert { vector<int> reordered_vertices; VariableDependencyGraph G(*this); - auto v_index = get(vertex_index, G); + auto v_index = get(vertex_index1, G); set<int, greater<int>> fv; for (auto its = feedback_vertices.begin(); its != feedback_vertices.end(); ++its) fv.insert(*its);