summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/smt/smt_engine.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index d4448787f..8d13b5cc6 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -864,12 +864,13 @@ void SmtEngine::setLogicInternal() throw() {
Trace("smt") << "setting ite simplification to " << iteSimp << endl;
options::doITESimp.set(iteSimp);
}
- // Turn off array eager index splitting for QF_AUFLIA
+ // Turn off array eager index splitting for QF_AUFLIA and QF_AX
if(! options::arraysEagerIndexSplitting.wasSetByUser()) {
if (not d_logic.isQuantified() &&
d_logic.isTheoryEnabled(THEORY_ARRAY) &&
- d_logic.isTheoryEnabled(THEORY_UF) &&
- d_logic.isTheoryEnabled(THEORY_ARITH)) {
+ (d_logic.isPure(THEORY_ARRAY) ||
+ (d_logic.isTheoryEnabled(THEORY_UF) &&
+ d_logic.isTheoryEnabled(THEORY_ARITH)))) {
Trace("smt") << "setting array eager index splitting to false" << endl;
options::arraysEagerIndexSplitting.set(false);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback