Bug fix
authorGuy <katz911@gmail.com>
Mon, 25 Jul 2016 23:52:27 +0000 (16:52 -0700)
committerGuy <katz911@gmail.com>
Mon, 25 Jul 2016 23:52:27 +0000 (16:52 -0700)
src/proof/theory_proof.cpp

index f544f5ff568d6e47c810c1e2319beca1018c628e..8c74d0c2cd285a9eea0811b482aa3639b7623446 100644 (file)
@@ -1087,7 +1087,7 @@ void LFSCBooleanProof::printOwnedTerm(Expr term, std::ostream& os, const ProofLe
       }
 
       // The let map should already have the current expression.
-      ProofLetMap::const_iterator it = map.find(term);
+      ProofLetMap::const_iterator it = map.find(currentExpression.toExpr());
       if (it != map.end()) {
         unsigned id = it->second.id;
         unsigned count = it->second.count;