diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2015-06-15 10:59:23 +0200 |
---|---|---|
committer | Kshitij Bansal <kshitij@cs.nyu.edu> | 2015-06-15 05:40:19 -0400 |
commit | ff5745a9f6d9c1b54bd92e7c7d9a7e05bb0d3fc3 (patch) | |
tree | 7089babd7e0961964c18d1db7a7d822e151192bd /src/theory/quantifiers/term_database.cpp | |
parent | 3034c5a560cd8dd880376fc5c0d6f7baccf759ed (diff) |
Make array basis term a skolem (avoids crashing in fmf).smtcomp2015-experimental
Diffstat (limited to 'src/theory/quantifiers/term_database.cpp')
-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() ){ |