projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84dacb3
)
Fix MULT handling for CBQI BV. (#1531)
author
Aina Niemetz
<aina.niemetz@gmail.com>
Tue, 23 Jan 2018 20:02:42 +0000
(12:02 -0800)
committer
GitHub
<noreply@github.com>
Tue, 23 Jan 2018 20:02:42 +0000
(12:02 -0800)
src/theory/quantifiers/bv_inverter.cpp
patch
|
blob
|
history
diff --git
a/src/theory/quantifiers/bv_inverter.cpp
b/src/theory/quantifiers/bv_inverter.cpp
index cf16efbfa3db04e424d87091e8158df57466ea4f..975016d34b6ee136f50e441f025bcc2f25ee4637 100644
(file)
--- a/
src/theory/quantifiers/bv_inverter.cpp
+++ b/
src/theory/quantifiers/bv_inverter.cpp
@@
-2897,7
+2897,8
@@
Node BvInverter::solveBvLit(Node sv,
{
t = nm->mkNode(BITVECTOR_XOR, t, s);
}
- else if (k == BITVECTOR_MULT && s.isConst() && bv::utils::getBit(s, 0))
+ else if (litk == EQUAL && k == BITVECTOR_MULT
+ && s.isConst() && bv::utils::getBit(s, 0))
{
unsigned w = bv::utils::getSize(s);
Integer s_val = s.getConst<BitVector>().toInteger();