summaryrefslogtreecommitdiff
path: root/src/theory/arrays
diff options
context:
space:
mode:
authorClark Barrett <barrett@cs.nyu.edu>2013-03-27 23:02:29 -0400
committerClark Barrett <barrett@cs.nyu.edu>2013-03-27 23:02:29 -0400
commit2108ce5dfab34583f9abd07c077cd0b4f1f92499 (patch)
treed562853d4116dbb8184a27fb4e56f77c1aa83bad /src/theory/arrays
parent3242df3ac7fba2393659cdccd1579084e6a8e59a (diff)
Fixed a warning, made eager-index default to true (better for QF_AUFBV)
Diffstat (limited to 'src/theory/arrays')
-rw-r--r--src/theory/arrays/options2
-rw-r--r--src/theory/arrays/theory_arrays.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/theory/arrays/options b/src/theory/arrays/options
index 41c56f51d..8a971cfe8 100644
--- a/src/theory/arrays/options
+++ b/src/theory/arrays/options
@@ -14,7 +14,7 @@ option arraysLazyRIntro1 --arrays-lazy-rintro1 bool :default true :read-write
option arraysModelBased --arrays-model-based bool :default false :read-write
turn on model-based arrray solver
-option arraysEagerIndexSplitting --arrays-eager-index bool :default false :read-write
+option arraysEagerIndexSplitting --arrays-eager-index bool :default true :read-write
turn on eager index splitting for generated array lemmas
endmodule
diff --git a/src/theory/arrays/theory_arrays.cpp b/src/theory/arrays/theory_arrays.cpp
index 02575edd4..9ed6de31f 100644
--- a/src/theory/arrays/theory_arrays.cpp
+++ b/src/theory/arrays/theory_arrays.cpp
@@ -1009,7 +1009,6 @@ void TheoryArrays::checkModel(Effort e)
context::CDList<TNode>::const_iterator shared_it = shared_terms_begin(), shared_it_end = shared_terms_end(), shared_it2;
Node modelVal, modelVal2, d;
vector<TNode> assumptions;
- bool invert;
for (; shared_it != shared_it_end; ++shared_it) {
if ((*shared_it).getType().isArray()) {
continue;
@@ -1038,7 +1037,6 @@ void TheoryArrays::checkModel(Effort e)
}
}
Assert(modelVal2.isConst());
- invert = (modelVal != modelVal2);
d = (*shared_it).eqNode(*shared_it2);
if (modelVal != modelVal2) {
d = d.notNode();
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback