summaryrefslogtreecommitdiff
path: root/src/theory/arrays/theory_arrays.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-06-04 14:55:10 -0500
committerGitHub <noreply@github.com>2018-06-04 14:55:10 -0500
commit1e8a4e25751263a923a8d4cfd4d404fc0d24aa03 (patch)
treebf39b9bea3eac7672e019e993911098dd982b14c /src/theory/arrays/theory_arrays.cpp
parentcd170ce1ce9883aac0ed4ccadd85b66111d14bed (diff)
Move assertion. (#2051)
Diffstat (limited to 'src/theory/arrays/theory_arrays.cpp')
-rw-r--r--src/theory/arrays/theory_arrays.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/arrays/theory_arrays.cpp b/src/theory/arrays/theory_arrays.cpp
index 87edbe316..9a51a1f43 100644
--- a/src/theory/arrays/theory_arrays.cpp
+++ b/src/theory/arrays/theory_arrays.cpp
@@ -668,6 +668,7 @@ void TheoryArrays::preRegisterTermInternal(TNode node)
{
d_equalityEngine.addTerm(node);
}
+ Assert((d_isPreRegistered.insert(node), true));
if (options::arraysLazyRIntro1() && !options::arraysWeakEquivalence()) {
// Apply RIntro1 rule to any stores equal to store if not done already
@@ -717,7 +718,6 @@ void TheoryArrays::preRegisterTermInternal(TNode node)
d_reads.push_back(node);
}
- Assert((d_isPreRegistered.insert(node), true));
checkRowForIndex(node[1], store);
break;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback