projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d278cfe
)
Fix datatypes inference manager when proofs are enabled (#5937)
author
Andrew Reynolds
<andrew.j.reynolds@gmail.com>
Mon, 22 Feb 2021 13:01:18 +0000
(07:01 -0600)
committer
GitHub
<noreply@github.com>
Mon, 22 Feb 2021 13:01:18 +0000
(14:01 +0100)
Accidentally was not sending lemmas in one interface when proofs are enabled due to recent refactoring.
src/theory/datatypes/inference_manager.cpp
patch
|
blob
|
history
diff --git
a/src/theory/datatypes/inference_manager.cpp
b/src/theory/datatypes/inference_manager.cpp
index 8c12258afba571d169044387053b4cb55c0a78ed..9702a558464dc7a029578f151e62e71fb4890f73 100644
(file)
--- a/
src/theory/datatypes/inference_manager.cpp
+++ b/
src/theory/datatypes/inference_manager.cpp
@@
-74,10
+74,11
@@
void InferenceManager::sendDtLemma(Node lem, InferenceId id, LemmaProperty p)
{
if (isProofEnabled())
{
- processDtLemma(lem, Node::null(), id);
+ TrustNode trn = processDtLemma(lem, Node::null(), id);
+ trustedLemma(trn, id);
return;
}
- // otherwise send as a normal lemma
+ // otherwise send as a normal lemma
directly
lemma(lem, id, p);
}