summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2015-06-15 10:59:23 +0200
committerKshitij Bansal <kshitij@cs.nyu.edu>2015-06-15 05:40:19 -0400
commitff5745a9f6d9c1b54bd92e7c7d9a7e05bb0d3fc3 (patch)
tree7089babd7e0961964c18d1db7a7d822e151192bd
parent3034c5a560cd8dd880376fc5c0d6f7baccf759ed (diff)
Make array basis term a skolem (avoids crashing in fmf).smtcomp2015-experimental
-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