diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2015-06-15 10:59:23 +0200 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2015-06-15 10:59:23 +0200 |
commit | 9b32405be875e7d20289d8eabbe85d036a31f301 (patch) | |
tree | 928610ab64cd1c59785564df849c0d0e9fc153bf | |
parent | 34bc21dfd0fee27336019d26d60db57532336257 (diff) |
Make array basis term a skolem (avoids crashing in fmf).smtcomp2015-stable
-rw-r--r-- | src/theory/quantifiers/term_database.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/quantifiers/term_database.cpp b/src/theory/quantifiers/term_database.cpp index 2507209f4..eba080a0e 100644 --- a/src/theory/quantifiers/term_database.cpp +++ b/src/theory/quantifiers/term_database.cpp @@ -571,7 +571,7 @@ Node TermDb::getModelBasisTerm( TypeNode tn, int i ){ Node mbt; if( tn.isInteger() || tn.isReal() ){ mbt = NodeManager::currentNM()->mkConst( Rational( 0 ) ); - }else if( !tn.isSort() ){ + }else if( !tn.isArray() && !tn.isSort() ){ mbt = tn.mkGroundTerm(); }else{ if( options::fmfFreshDistConst() || d_type_map[ tn ].empty() ){ |