diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2020-04-18 10:58:39 -0500 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2020-04-18 10:58:39 -0500 |
commit | 9d3e0c08e1c7fa47c27e4032188360b50a8cbc1d (patch) | |
tree | 97a191bdc00df32a17258c7846e796845c686054 /src/theory/trust_node.cpp | |
parent | fc2669246d06190434e9379c197c9441f9747af5 (diff) |
More
Diffstat (limited to 'src/theory/trust_node.cpp')
-rw-r--r-- | src/theory/trust_node.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/theory/trust_node.cpp b/src/theory/trust_node.cpp index 48db08803..97dff8282 100644 --- a/src/theory/trust_node.cpp +++ b/src/theory/trust_node.cpp @@ -14,6 +14,8 @@ #include "theory/trust_node.h" +#include "theory/proof_generator.h" + namespace CVC4 { namespace theory { @@ -36,14 +38,14 @@ std::ostream& operator<<(std::ostream& out, TrustNodeKind tnk) TrustNode TrustNode::mkTrustConflict(Node conf, ProofGenerator* g) { // if a generator is provided, should confirm that it can prove it - Assert(d_gen == nullptr || d_gen->canProveConflict(conf)); + Assert(g == nullptr || g->canProveConflict(conf)); return TrustNode(TrustNodeKind::CONFLICT, conf, g); } TrustNode TrustNode::mkTrustLemma(Node lem, ProofGenerator* g) { // if a generator is provided, should confirm that it can prove it - Assert(d_gen == nullptr || d_gen->canProveLemma(lem)); + Assert(g == nullptr || g->canProveLemma(lem)); return TrustNode(TrustNodeKind::LEMMA, lem, g); } |