summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/term_database.cpp
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/term_database.cpp
parent71d72df0437607723256bbd7b4f28cd6c89fe40f (diff)
Move quantifiers attributes to quantifiers registry (#5929)
This moves the utility class beneath quantifiers registry.
Diffstat (limited to 'src/theory/quantifiers/term_database.cpp')
-rw-r--r--src/theory/quantifiers/term_database.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/quantifiers/term_database.cpp b/src/theory/quantifiers/term_database.cpp
index 28eb715a3..f111b23ce 100644
--- a/src/theory/quantifiers/term_database.cpp
+++ b/src/theory/quantifiers/term_database.cpp
@@ -936,7 +936,8 @@ bool TermDb::isTermEligibleForInstantiation(TNode n, TNode f)
{
if( options::instMaxLevel()!=-1 ){
if( n.hasAttribute(InstLevelAttribute()) ){
- int fml = f.isNull() ? -1 : d_quantEngine->getQuantAttributes()->getQuantInstLevel( f );
+ int64_t fml =
+ f.isNull() ? -1 : d_qreg.getQuantAttributes().getQuantInstLevel(f);
unsigned ml = fml>=0 ? fml : options::instMaxLevel();
if( n.getAttribute(InstLevelAttribute())>ml ){
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback