diff options
Diffstat (limited to 'src/theory/arith/arith_static_learner.cpp')
-rw-r--r-- | src/theory/arith/arith_static_learner.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/theory/arith/arith_static_learner.cpp b/src/theory/arith/arith_static_learner.cpp index ed68df89c..4bfc1a4f9 100644 --- a/src/theory/arith/arith_static_learner.cpp +++ b/src/theory/arith/arith_static_learner.cpp @@ -19,6 +19,7 @@ #include "base/output.h" #include "expr/expr.h" +#include "expr/node_algorithm.h" #include "options/arith_options.h" #include "smt/smt_statistics_registry.h" #include "theory/arith/arith_static_learner.h" @@ -107,9 +108,11 @@ void ArithStaticLearner::process(TNode n, NodeBuilder<>& learned, const TNodeSet switch(n.getKind()){ case ITE: - if(n.hasBoundVar()) { + if (expr::hasBoundVar(n)) + { // Unsafe with non-ground ITEs; do nothing - Debug("arith::static") << "(potentially) non-ground ITE, ignoring..." << endl; + Debug("arith::static") + << "(potentially) non-ground ITE, ignoring..." << endl; break; } |