3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-22 16:45:32 +00:00

Minor hotfixes (mostly gcc build fixes)

This commit is contained in:
Clifford Wolf 2013-03-03 13:18:37 +01:00
parent 65e5e1658c
commit 45bfe26f5f
5 changed files with 12 additions and 0 deletions

View file

@ -1274,6 +1274,10 @@ class SubCircuit::SolverWorker
const std::string &graphId = graph_it.first;
const auto &graph = graph_it.second.graph;
int node2 = adj_it.first;
if (node1 == node2)
continue;
NodeSet pair(graphId, node1, node2);
if (usedPairs.count(pair) > 0)