Bug fix
authorGuy <katz911@gmail.com>
Tue, 26 Jul 2016 00:24:39 +0000 (17:24 -0700)
committerGuy <katz911@gmail.com>
Tue, 26 Jul 2016 00:24:39 +0000 (17:24 -0700)
src/proof/theory_proof.cpp

index 9753844a1133e91bf01c2f108b16d456077d04df..eae8a68dffbd67b56e357a1bae109c226b7ed04f 100644 (file)
@@ -1080,7 +1080,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;