summaryrefslogtreecommitdiff
path: root/src/proof
diff options
context:
space:
mode:
authorLiana Hadarean <lianahady@gmail.com>2013-10-07 23:52:21 -0400
committerLiana Hadarean <lianahady@gmail.com>2013-10-07 23:52:21 -0400
commitba8efaff308ef1eb14ec40dd74e0e18c16126d2c (patch)
tree6be32d8b470b21a5ce5b6da35c53fdcbc39eeaea /src/proof
parent867e79e0823c689889224078dfaebec03aee9730 (diff)
fixed some bugs
Diffstat (limited to 'src/proof')
-rw-r--r--src/proof/proof_manager.cpp2
-rw-r--r--src/proof/sat_proof.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/proof/proof_manager.cpp b/src/proof/proof_manager.cpp
index 43750a504..7ca1a1e65 100644
--- a/src/proof/proof_manager.cpp
+++ b/src/proof/proof_manager.cpp
@@ -34,8 +34,6 @@ ProofManager::ProofManager(ProofFormat format):
d_fullProof(NULL),
d_format(format)
{
- // FIXME this is until it actually has theory references
- initTheoryProof();
}
ProofManager::~ProofManager() {
diff --git a/src/proof/sat_proof.cpp b/src/proof/sat_proof.cpp
index 624aac237..dc83e6aa3 100644
--- a/src/proof/sat_proof.cpp
+++ b/src/proof/sat_proof.cpp
@@ -590,6 +590,9 @@ void SatProof::finalizeProof(::Minisat::CRef conflict_ref) {
res->addStep(lit, res_id, !sign(lit));
}
registerResolution(d_emptyClauseId, res);
+ // FIXME: massive hack
+ Proof* proof = ProofManager::getProof();
+ proof->toStream(std::cout);
}
/// CRef manager
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback