summaryrefslogtreecommitdiff
path: root/src/theory/trust_node.cpp
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2020-04-18 10:58:39 -0500
committerajreynol <andrew.j.reynolds@gmail.com>2020-04-18 10:58:39 -0500
commit9d3e0c08e1c7fa47c27e4032188360b50a8cbc1d (patch)
tree97a191bdc00df32a17258c7846e796845c686054 /src/theory/trust_node.cpp
parentfc2669246d06190434e9379c197c9441f9747af5 (diff)
More
Diffstat (limited to 'src/theory/trust_node.cpp')
-rw-r--r--src/theory/trust_node.cpp6
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);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback