projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7046f07
)
Deleting the eager bitblasting solver if present in TheoryBV.
author
Tim King
<taking@google.com>
Mon, 26 Sep 2016 03:46:26 +0000
(20:46 -0700)
committer
Tim King
<taking@google.com>
Mon, 26 Sep 2016 03:46:26 +0000
(20:46 -0700)
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 f0981044b3362f3a720956414bbc0404d4d76fa0..de596e3d5bdbbfa2dfb220a42fdf0e7ce3876c5c 100644
(file)
--- a/
src/theory/bv/theory_bv.cpp
+++ b/
src/theory/bv/theory_bv.cpp
@@
-100,8
+100,10
@@
TheoryBV::TheoryBV(context::Context* c, context::UserContext* u,
d_subtheoryMap[SUB_BITBLAST] = bb_solver;
}
-
TheoryBV::~TheoryBV() {
+ if (d_eagerSolver) {
+ delete d_eagerSolver;
+ }
for (unsigned i = 0; i < d_subtheories.size(); ++i) {
delete d_subtheories[i];
}