summaryrefslogtreecommitdiff
path: root/src/theory/arrays
diff options
context:
space:
mode:
authorClark Barrett <barrett@cs.nyu.edu>2014-09-17 15:01:19 -0700
committerClark Barrett <barrett@cs.nyu.edu>2014-10-02 13:28:22 -0700
commit4c32421fee453d82e6c1d7d3dc1605da11db1a09 (patch)
treeb0e4689aac85a856db5e75513610d53475fc4f7d /src/theory/arrays
parent3df8013300486129fc06f3a20d43def1f34a221a (diff)
More model-based combination for arrays
Diffstat (limited to 'src/theory/arrays')
-rw-r--r--src/theory/arrays/options2
-rw-r--r--src/theory/arrays/theory_arrays.cpp4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/theory/arrays/options b/src/theory/arrays/options
index 15220fbc2..baf0962bf 100644
--- a/src/theory/arrays/options
+++ b/src/theory/arrays/options
@@ -12,7 +12,7 @@ option arraysLazyRIntro1 --arrays-lazy-rintro1 bool :default true :read-write
turn on optimization to only perform RIntro1 rule lazily (see Jovanovic/Barrett 2012: Being Careful with Theory Combination)
option arraysModelBased --arrays-model-based bool :default false :read-write
- turn on model-based arrray solver
+ turn on model-based array solver
option arraysEagerIndexSplitting --arrays-eager-index bool :default true :read-write
turn on eager index splitting for generated array lemmas
diff --git a/src/theory/arrays/theory_arrays.cpp b/src/theory/arrays/theory_arrays.cpp
index 6b91400e8..bfbf046c3 100644
--- a/src/theory/arrays/theory_arrays.cpp
+++ b/src/theory/arrays/theory_arrays.cpp
@@ -990,7 +990,9 @@ void TheoryArrays::check(Effort e) {
if(!options::arraysEagerLemmas() && fullEffort(e) && !d_conflict && !options::arraysModelBased()) {
// generate the lemmas on the worklist
Trace("arrays-lem")<<"Arrays::discharging lemmas: "<<d_RowQueue.size()<<"\n";
- dischargeLemmas();
+ while (d_RowQueue.size() > 0 && !d_conflict) {
+ dischargeLemmas();
+ }
}
Trace("arrays") << spaces(getSatContext()->getLevel()) << "Arrays::check(): done" << endl;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback