summaryrefslogtreecommitdiff
path: root/src/theory/arith
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2012-10-16 21:59:50 +0000
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>2012-10-16 21:59:50 +0000
commitd9d71e0d7885d32ef44fbd08d47b3cccd35ff6f7 (patch)
treef730bb17eba9412258c47617f144510d722d6006 /src/theory/arith
parentbbcfb5208c6c0f343d1a63b129c54914f66b2701 (diff)
more cleanup of quantifiers code
Diffstat (limited to 'src/theory/arith')
-rw-r--r--src/theory/arith/theory_arith_instantiator.cpp6
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) );
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback