summaryrefslogtreecommitdiff
path: root/src/theory/inference_id.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/inference_id.cpp')
-rw-r--r--src/theory/inference_id.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/theory/inference_id.cpp b/src/theory/inference_id.cpp
index 594834226..9b5f1a581 100644
--- a/src/theory/inference_id.cpp
+++ b/src/theory/inference_id.cpp
@@ -19,6 +19,8 @@
#include "proof/proof_checker.h"
#include "util/rational.h"
+using namespace cvc5::kind;
+
namespace cvc5 {
namespace theory {
@@ -466,7 +468,8 @@ std::ostream& operator<<(std::ostream& out, InferenceId i)
Node mkInferenceIdNode(InferenceId i)
{
- return NodeManager::currentNM()->mkConst(Rational(static_cast<uint32_t>(i)));
+ return NodeManager::currentNM()->mkConst(CONST_RATIONAL,
+ Rational(static_cast<uint32_t>(i)));
}
bool getInferenceId(TNode n, InferenceId& i)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback