summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/cegqi
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-02-22 16:35:20 -0600
committerGitHub <noreply@github.com>2021-02-22 16:35:20 -0600
commit4479383c2fd8a3b81ab63d66f843b09b5c9d0cd3 (patch)
treef4bf404bac05fd8592a09fda981061311692e8e2 /src/theory/quantifiers/cegqi
parent71d72df0437607723256bbd7b4f28cd6c89fe40f (diff)
Move quantifiers attributes to quantifiers registry (#5929)
This moves the utility class beneath quantifiers registry.
Diffstat (limited to 'src/theory/quantifiers/cegqi')
-rw-r--r--src/theory/quantifiers/cegqi/inst_strategy_cegqi.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/quantifiers/cegqi/inst_strategy_cegqi.cpp b/src/theory/quantifiers/cegqi/inst_strategy_cegqi.cpp
index e4881b112..442532e82 100644
--- a/src/theory/quantifiers/cegqi/inst_strategy_cegqi.cpp
+++ b/src/theory/quantifiers/cegqi/inst_strategy_cegqi.cpp
@@ -469,7 +469,8 @@ Node InstStrategyCegqi::getCounterexampleLiteral(Node q)
bool InstStrategyCegqi::doAddInstantiation( std::vector< Node >& subs ) {
Assert(!d_curr_quant.isNull());
//if doing partial quantifier elimination, record the instantiation and set the incomplete flag instead of sending instantiation lemma
- if( d_quantEngine->getQuantAttributes()->isQuantElimPartial( d_curr_quant ) ){
+ if (d_qreg.getQuantAttributes().isQuantElimPartial(d_curr_quant))
+ {
d_cbqi_set_quant_inactive = true;
d_incomplete_check = true;
d_quantEngine->getInstantiate()->recordInstantiation(
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback