summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2020-05-18 19:13:06 -0500
committerajreynol <andrew.j.reynolds@gmail.com>2020-05-18 19:13:06 -0500
commitc52794c82dffbb5c335325adfc3d10bf3746093a (patch)
treeb0742c075c3efa30ae3d95a07f2ba3fe0763ab3b
parentb1dc1e1b820dae80f9421e0e6bc93cad85a81b9d (diff)
Minor
-rw-r--r--src/theory/theory_engine_proof_generator.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/theory/theory_engine_proof_generator.cpp b/src/theory/theory_engine_proof_generator.cpp
index c11378e04..75bae8916 100644
--- a/src/theory/theory_engine_proof_generator.cpp
+++ b/src/theory/theory_engine_proof_generator.cpp
@@ -32,14 +32,14 @@ theory::TrustNode TheoryEngineProofGenerator::mkTrustExplain(
Assert(p.getKind() == IMPLIES && p.getNumChildren() == 2);
// should not already be proven
NodeLazyCDProofMap::iterator it = d_proofs.find(p);
- if (it != d_proofs.end())
+ if (it == d_proofs.end())
{
- Assert(false);
+ // we will prove this
+ d_proofs.insert(p, lpf);
}
else
{
- // we will prove this
- d_proofs.insert(p, lpf);
+ // Assert(false);
}
return trn;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback