projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70997d0
)
[proofs] Fix a trace in SAT proof manager (#7732)
author
Haniel Barbosa
<hanielbbarbosa@gmail.com>
Thu, 2 Dec 2021 16:43:10 +0000
(13:43 -0300)
committer
GitHub
<noreply@github.com>
Thu, 2 Dec 2021 16:43:10 +0000
(10:43 -0600)
src/prop/sat_proof_manager.cpp
patch
|
blob
|
history
diff --git
a/src/prop/sat_proof_manager.cpp
b/src/prop/sat_proof_manager.cpp
index e12b2cae927e7fcd9435645dec080e64e3420736..fb37b1d011172d540d401259c9f48abdeb6f820a 100644
(file)
--- a/
src/prop/sat_proof_manager.cpp
+++ b/
src/prop/sat_proof_manager.cpp
@@
-450,7
+450,8
@@
void SatProofManager::explainLit(SatLiteral lit,
Trace("sat-proof") << "SatProofManager::explainLit: " << children[i];
if (i > 0)
{
- Trace("sat-proof") << " [" << args[i - 1] << "]";
+ Trace("sat-proof") << " [" << args[(2 * i) - 2] << ", "
+ << args[(2 * i) - 1] << "]";
}
Trace("sat-proof") << "\n";
}