diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-02-22 16:35:20 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-22 16:35:20 -0600 |
commit | 4479383c2fd8a3b81ab63d66f843b09b5c9d0cd3 (patch) | |
tree | f4bf404bac05fd8592a09fda981061311692e8e2 /src/theory/quantifiers/term_database.cpp | |
parent | 71d72df0437607723256bbd7b4f28cd6c89fe40f (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.cpp | 3 |
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 ){ |