summaryrefslogtreecommitdiff
path: root/src/smt
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2018-08-16 16:46:05 -0700
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-08-16 18:46:05 -0500
commit7fc04bf78c6c20f3711d14425469eef2e0c2cd60 (patch)
treed9f2e91a52406edf66967faccad550631cd9e4a5 /src/smt
parent4e62cdade61514f268b96e78e2f82ad12dfcad07 (diff)
Move node algorithms to separate file (#2311)
Diffstat (limited to 'src/smt')
-rw-r--r--src/smt/term_formula_removal.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/smt/term_formula_removal.cpp b/src/smt/term_formula_removal.cpp
index ade34d127..2e18899a2 100644
--- a/src/smt/term_formula_removal.cpp
+++ b/src/smt/term_formula_removal.cpp
@@ -17,6 +17,7 @@
#include <vector>
+#include "expr/node_algorithm.h"
#include "options/proof_options.h"
#include "proof/proof_manager.h"
@@ -85,7 +86,7 @@ Node RemoveTermFormulas::run(TNode node, std::vector<Node>& output,
Node newAssertion;
if(node.getKind() == kind::ITE) {
// If an ITE, replace it
- if (!nodeType.isBoolean() && (!inQuant || !node.hasBoundVar()))
+ if (!nodeType.isBoolean() && (!inQuant || !expr::hasBoundVar(node)))
{
skolem = getSkolemForNode(node);
if (skolem.isNull())
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback