projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ac27cd
)
fixed seg fault when bv equality is turned off
author
Liana Hadarean
<lianahady@gmail.com>
Tue, 16 Jul 2013 22:59:31 +0000
(17:59 -0500)
committer
Liana Hadarean
<lianahady@gmail.com>
Tue, 16 Jul 2013 22:59:31 +0000
(17:59 -0500)
src/theory/bv/theory_bv.cpp
patch
|
blob
|
history
diff --git
a/src/theory/bv/theory_bv.cpp
b/src/theory/bv/theory_bv.cpp
index 224359952aeacd0da62d20f508081980ae640f18..38d3a2f5e09d54d8053b30572d39d054f054e9a6 100644
(file)
--- a/
src/theory/bv/theory_bv.cpp
+++ b/
src/theory/bv/theory_bv.cpp
@@
-72,7
+72,9
@@
TheoryBV::~TheoryBV() {
}
void TheoryBV::setMasterEqualityEngine(eq::EqualityEngine* eq) {
- dynamic_cast<CoreSolver*>(d_subtheoryMap[SUB_CORE])->setMasterEqualityEngine(eq);
+ if (options::bvEquality()) {
+ dynamic_cast<CoreSolver*>(d_subtheoryMap[SUB_CORE])->setMasterEqualityEngine(eq);
+ }
}
TheoryBV::Statistics::Statistics():