projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd170ce
)
Move assertion. (#2051)
author
Andrew Reynolds
<andrew.j.reynolds@gmail.com>
Mon, 4 Jun 2018 19:55:10 +0000
(14:55 -0500)
committer
GitHub
<noreply@github.com>
Mon, 4 Jun 2018 19:55:10 +0000
(14:55 -0500)
src/theory/arrays/theory_arrays.cpp
patch
|
blob
|
history
diff --git
a/src/theory/arrays/theory_arrays.cpp
b/src/theory/arrays/theory_arrays.cpp
index 87edbe3163b9c0fb782794acc3d37e3f826cdea4..9a51a1f43fa67af4254664e236703e8e5602f37b 100644
(file)
--- 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;
}