diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2013-05-22 16:33:15 -0500 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2013-05-22 16:33:30 -0500 |
commit | 852d41b2878ae4981ab4a9b246345bb05bbe23ab (patch) | |
tree | 8f19be94ed3432517a3dcde87c6bb6eb868203f0 /src | |
parent | fd076209b073aff3ad3db6eccfc51a59ec5d87c2 (diff) |
Add regressions for finite model finding
Diffstat (limited to 'src')
-rw-r--r-- | src/theory/arith/theory_arith_private.cpp | 2 | ||||
-rw-r--r-- | src/theory/quantifiers_engine.cpp | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/theory/arith/theory_arith_private.cpp b/src/theory/arith/theory_arith_private.cpp index 060f6dbba..dd5e404c6 100644 --- a/src/theory/arith/theory_arith_private.cpp +++ b/src/theory/arith/theory_arith_private.cpp @@ -1376,7 +1376,7 @@ Constraint TheoryArithPrivate::constraintFromFactQueue(){ Assert(!done()); TNode assertion = get(); - if( options::finiteModelFind() ){ + if( options::finiteModelFind() && d_quantEngine && d_quantEngine->getBoundedIntegers() ){ d_quantEngine->getBoundedIntegers()->assertNode(assertion); } diff --git a/src/theory/quantifiers_engine.cpp b/src/theory/quantifiers_engine.cpp index ef8169433..e01d83853 100644 --- a/src/theory/quantifiers_engine.cpp +++ b/src/theory/quantifiers_engine.cpp @@ -62,8 +62,9 @@ d_lemmas_produced_c(u){ d_model_engine = new quantifiers::ModelEngine( c, this ); d_modules.push_back( d_model_engine ); - d_bint = new quantifiers::BoundedIntegers( c, this ); - d_modules.push_back( d_bint ); + //d_bint = new quantifiers::BoundedIntegers( c, this ); + //d_modules.push_back( d_bint ); + d_bint = NULL; }else{ d_model_engine = NULL; d_bint = NULL; |