summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/fmf
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-07-21 09:19:31 -0500
committerGitHub <noreply@github.com>2018-07-21 09:19:31 -0500
commit0d12fcbb5f1c047f951a69aa6ef4ae127f499312 (patch)
treed177dd93a13a8ae4ac5c9a22ab8c5aa97537d19d /src/theory/quantifiers/fmf
parent585d2ac394e99a155ed40aa2da2fb550ff60fc7b (diff)
Optimizations and fixes for computing whether a type is finite (#2179)
Diffstat (limited to 'src/theory/quantifiers/fmf')
-rw-r--r--src/theory/quantifiers/fmf/model_engine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/quantifiers/fmf/model_engine.cpp b/src/theory/quantifiers/fmf/model_engine.cpp
index f05246ddb..6763a0ad3 100644
--- a/src/theory/quantifiers/fmf/model_engine.cpp
+++ b/src/theory/quantifiers/fmf/model_engine.cpp
@@ -136,7 +136,8 @@ void ModelEngine::registerQuantifier( Node f ){
for( unsigned i=0; i<f[0].getNumChildren(); i++ ){
TypeNode tn = f[0][i].getType();
if( !tn.isSort() ){
- if( !tn.getCardinality().isFinite() ){
+ if (!tn.isInterpretedFinite())
+ {
if( tn.isInteger() ){
if( !options::fmfBound() ){
canHandle = false;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback