diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2012-10-16 21:59:50 +0000 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2012-10-16 21:59:50 +0000 |
commit | d9d71e0d7885d32ef44fbd08d47b3cccd35ff6f7 (patch) | |
tree | f730bb17eba9412258c47617f144510d722d6006 /src/theory/arith | |
parent | bbcfb5208c6c0f343d1a63b129c54914f66b2701 (diff) |
more cleanup of quantifiers code
Diffstat (limited to 'src/theory/arith')
-rw-r--r-- | src/theory/arith/theory_arith_instantiator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/theory/arith/theory_arith_instantiator.cpp b/src/theory/arith/theory_arith_instantiator.cpp index 2135f9064..b6c85b7eb 100644 --- a/src/theory/arith/theory_arith_instantiator.cpp +++ b/src/theory/arith/theory_arith_instantiator.cpp @@ -107,9 +107,9 @@ void InstantiatorTheoryArith::assertNode( Node assertion ){ d_quantEngine->addTermToDatabase( assertion ); if( options::cbqi() ){ if( assertion.hasAttribute(InstConstantAttribute()) ){ - setHasConstraintsFrom( assertion.getAttribute(InstConstantAttribute()) ); + setQuantifierActive( assertion.getAttribute(InstConstantAttribute()) ); }else if( assertion.getKind()==NOT && assertion[0].hasAttribute(InstConstantAttribute()) ){ - setHasConstraintsFrom( assertion[0].getAttribute(InstConstantAttribute()) ); + setQuantifierActive( assertion[0].getAttribute(InstConstantAttribute()) ); } } } @@ -140,7 +140,7 @@ void InstantiatorTheoryArith::processResetInstantiationRound( Theory::Effort eff d_instRows[f].push_back( x ); //this theory has constraints from f Debug("quant-arith") << "Has constraints from " << f << std::endl; - setHasConstraintsFrom( f ); + setQuantifierActive( f ); //set tableaux term if( t.getNumChildren()==0 ){ d_tableaux_term[x] = NodeManager::currentNM()->mkConst( Rational(0) ); |