summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2013-01-23 16:34:07 -0500
committerTim King <taking@cs.nyu.edu>2013-01-23 17:12:47 -0500
commit9883548405f15ca8c18b7602092b186bc6934339 (patch)
treef3211505f163c1d3a0ff1fad3be15a5ae358a579 /src
parent3984e0df9dc739259271fd55ba0e814fa7b4fac1 (diff)
Adding substitution size cap.
Diffstat (limited to 'src')
-rw-r--r--src/theory/arith/theory_arith.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/arith/theory_arith.cpp b/src/theory/arith/theory_arith.cpp
index 7f7ee3bb1..39ded7991 100644
--- a/src/theory/arith/theory_arith.cpp
+++ b/src/theory/arith/theory_arith.cpp
@@ -752,8 +752,8 @@ Theory::PPAssertStatus TheoryArith::ppAssert(TNode in, SubstitutionMap& outSubst
Assert(elim == Rewriter::rewrite(elim));
- static const unsigned MAX_SUB_SIZE = 20;
- if(false && right.size() > MAX_SUB_SIZE){
+ static const unsigned MAX_SUB_SIZE = 2;
+ if(right.size() > MAX_SUB_SIZE){
Debug("simplify") << "TheoryArith::solve(): did not substitute due to the right hand side containing too many terms: " << minVar << ":" << elim << endl;
Debug("simplify") << right.size() << endl;
}else if(elim.hasSubterm(minVar)){
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback