diff options
author | Tim King <taking@google.com> | 2017-03-27 23:26:34 -0700 |
---|---|---|
committer | Tim King <taking@google.com> | 2017-03-27 23:26:34 -0700 |
commit | f0a621b5cd4478ea9b7263ebe1d162495553e1a9 (patch) | |
tree | 75ef1d685f326ca6eef622aae1c5c4693dd737a1 /src/theory/theory.cpp | |
parent | 10a9f52fcb1aedd662c87a394a3df76a4d66b5c9 (diff) |
Fixing a bug for checking whether a node was visited.
Diffstat (limited to 'src/theory/theory.cpp')
-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); |