summaryrefslogtreecommitdiff
path: root/src/proof/sat_proof_implementation.h
diff options
context:
space:
mode:
authorGuy <katz911@gmail.com>2016-08-03 15:51:22 -0700
committerGuy <katz911@gmail.com>2016-08-03 15:51:22 -0700
commitc82514b57252444df982b35af4809e0fd4635e37 (patch)
tree12ad1fe87c8d7723762a120645006bed29ce8c51 /src/proof/sat_proof_implementation.h
parent53020abb9381f4e29d628c054c990ddb43bba4b2 (diff)
Fixed an issue where arrays proofs would sometimes have an extra ")" at the end.
Diffstat (limited to 'src/proof/sat_proof_implementation.h')
-rw-r--r--src/proof/sat_proof_implementation.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/proof/sat_proof_implementation.h b/src/proof/sat_proof_implementation.h
index fc2bae19b..76b5efbe6 100644
--- a/src/proof/sat_proof_implementation.h
+++ b/src/proof/sat_proof_implementation.h
@@ -1093,6 +1093,7 @@ template <class Solver>
void LFSCSatProof<Solver>::printResolution(ClauseId id, std::ostream& out,
std::ostream& paren) {
out << "(satlem_simplify _ _ _ ";
+ paren << ")";
const ResChain<Solver>& res = this->getResolutionChain(id);
const typename ResChain<Solver>::ResSteps& steps = res.getSteps();
@@ -1118,7 +1119,7 @@ void LFSCSatProof<Solver>::printResolution(ClauseId id, std::ostream& out,
}
out << "(\\ " << this->clauseName(id) << "\n"; // bind to lemma name
- paren << "))"; // closing parethesis for lemma binding and satlem
+ paren << ")";
}
/// LFSCSatProof class
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback