From 57e44de6cc08f36743fe46a2ae4ff8810029e5c4 Mon Sep 17 00:00:00 2001 From: ajreynol Date: Fri, 13 Jun 2014 17:18:05 +0200 Subject: [PATCH] Fix handling of ALIA. --- src/smt/smt_engine.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp index 6ab25ee57..6b7bf424f 100644 --- a/src/smt/smt_engine.cpp +++ b/src/smt/smt_engine.cpp @@ -980,7 +980,8 @@ void SmtEngine::setDefaults() { } // If in arrays, set the UF handler to arrays - if(d_logic.isTheoryEnabled(THEORY_ARRAY) && !d_logic.isQuantified()) { + if(d_logic.isTheoryEnabled(THEORY_ARRAY) && ( !d_logic.isQuantified() || + (d_logic.isQuantified() && !d_logic.isTheoryEnabled(THEORY_UF)))) { Theory::setUninterpretedSortOwner(THEORY_ARRAY); } else { Theory::setUninterpretedSortOwner(THEORY_UF); -- 2.30.2