diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-07-21 09:19:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-21 09:19:31 -0500 |
commit | 0d12fcbb5f1c047f951a69aa6ef4ae127f499312 (patch) | |
tree | d177dd93a13a8ae4ac5c9a22ab8c5aa97537d19d /src/theory/quantifiers/fmf | |
parent | 585d2ac394e99a155ed40aa2da2fb550ff60fc7b (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.cpp | 3 |
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; |