summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2015-06-15 10:59:23 +0200
committerajreynol <andrew.j.reynolds@gmail.com>2015-06-15 10:59:23 +0200
commit9b32405be875e7d20289d8eabbe85d036a31f301 (patch)
tree928610ab64cd1c59785564df849c0d0e9fc153bf
parent34bc21dfd0fee27336019d26d60db57532336257 (diff)
Make array basis term a skolem (avoids crashing in fmf).smtcomp2015-stable
-rw-r--r--src/theory/quantifiers/term_database.cpp2
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() ){
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback