summaryrefslogtreecommitdiff
path: root/src/theory/theory_engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/theory_engine.cpp')
-rw-r--r--src/theory/theory_engine.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/theory/theory_engine.cpp b/src/theory/theory_engine.cpp
index 93b3f0d7e..af4dea293 100644
--- a/src/theory/theory_engine.cpp
+++ b/src/theory/theory_engine.cpp
@@ -40,7 +40,8 @@
#include "theory/ite_utilities.h"
#include "theory/unconstrained_simplifier.h"
-#include "theory/model.h"
+#include "theory/theory_model.h"
+
#include "theory/quantifiers_engine.h"
#include "theory/quantifiers/theory_quantifiers.h"
#include "theory/quantifiers/options.h"
@@ -1218,7 +1219,7 @@ public:
bool alreadyVisited(TNode current, TNode parent) {
// Check if already visited
- d_visited.find(current) != d_visited.end();
+ if (d_visited.find(current) != d_visited.end()) return true;
// Don't visit non-boolean
if (!current.getType().isBoolean()) return true;
// New node
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback