projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a064478
)
Properly initialize. (#6586)
author
Gereon Kremer
<nafur42@gmail.com>
Thu, 20 May 2021 18:50:50 +0000
(20:50 +0200)
committer
GitHub
<noreply@github.com>
Thu, 20 May 2021 18:50:50 +0000
(18:50 +0000)
This PR fixes a missing initialization that lead to a valgrind warning.
src/prop/bvminisat/bvminisat.h
patch
|
blob
|
history
diff --git
a/src/prop/bvminisat/bvminisat.h
b/src/prop/bvminisat/bvminisat.h
index 6ec43025e2f83addbff9fa4c41af139052849fc2..3bfb2d93c0256bd9699983479799b4953be0edf7 100644
(file)
--- a/
src/prop/bvminisat/bvminisat.h
+++ b/
src/prop/bvminisat/bvminisat.h
@@
-138,7
+138,7
@@
public:
ReferenceStat<int64_t> d_statEliminatedVars;
IntStat d_statCallsToSolve;
TimerStat d_statSolveTime;
- bool d_registerStats;
+ bool d_registerStats
= true
;
Statistics(StatisticsRegistry& registry, const std::string& prefix);
void init(BVMinisat::SimpSolver* minisat);
void deinit();