projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
090093b
)
Fix compiler warning in sat_proof_implementation
author
Andres Noetzli
<noetzli@stanford.edu>
Tue, 8 Aug 2017 01:16:02 +0000
(18:16 -0700)
committer
Andres Noetzli
<noetzli@stanford.edu>
Wed, 9 Aug 2017 07:58:38 +0000
(
00:58
-0700)
src/proof/sat_proof_implementation.h
patch
|
blob
|
history
diff --git
a/src/proof/sat_proof_implementation.h
b/src/proof/sat_proof_implementation.h
index c115bab4a537c0a5f6e44194b3127a70b08cc1dc..daf98ceea07fbdc7c45ac52f9efcff92abee8e2c 100644
(file)
--- a/
src/proof/sat_proof_implementation.h
+++ b/
src/proof/sat_proof_implementation.h
@@
-903,7
+903,7
@@
void TSatProof<Solver>::finalizeProof(typename Solver::TCRef conflict_ref) {
ResChain<Solver>* res = new ResChain<Solver>(conflict_id);
// Here, the call to resolveUnit() can reallocate memory in the
// clause allocator. So reload conflict ptr each time.
- for (
size_
t i = 0; i < getClause(conflict_ref).size(); ++i) {
+ for (
in
t i = 0; i < getClause(conflict_ref).size(); ++i) {
const typename Solver::TClause& conflict = getClause(conflict_ref);
typename Solver::TLit lit = conflict[i];
ClauseId res_id = resolveUnit(~lit);