diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/theory/theory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/theory.cpp b/src/theory/theory.cpp index 021aa61c6..5e14d1cb5 100644 --- a/src/theory/theory.cpp +++ b/src/theory/theory.cpp @@ -374,7 +374,7 @@ std::vector<Node> ExtTheory::collectVars(Node n) { while (!worklist.empty()) { Node current = worklist.back(); worklist.pop_back(); - if (current.isConst() || visited.count(current) <= 0) { + if (current.isConst() || visited.count(current) > 0) { continue; } visited.insert(current); |