projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfaba69
)
Checking in fix for bug 340 - somehow didn't get checked in earlier
author
Clark Barrett
<barrett@cs.nyu.edu>
Fri, 25 May 2012 00:21:53 +0000
(
00:21
+0000)
committer
Clark Barrett
<barrett@cs.nyu.edu>
Fri, 25 May 2012 00:21:53 +0000
(
00:21
+0000)
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 bcdb75845f68efaf5dd0c310ea66f14a3299f38e..44e362f906d4090a733665d0659aa83325084e9b 100644
(file)
--- a/
src/theory/arrays/theory_arrays.cpp
+++ b/
src/theory/arrays/theory_arrays.cpp
@@
-403,7
+403,12
@@
void TheoryArrays::preRegisterTerm(TNode node)
}
}
- d_equalityEngine.addTerm(node);
+ if (node.getType().isArray()) {
+ d_equalityEngine.addTriggerTerm(node, THEORY_ARRAY);
+ }
+ else {
+ d_equalityEngine.addTerm(node);
+ }
// Maybe it's a predicate
// TODO: remove this or keep it if we allow Boolean elements in arrays.
if (node.getType().isBoolean()) {