summaryrefslogtreecommitdiff
path: root/src/theory/arith/infer_bounds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/arith/infer_bounds.cpp')
-rw-r--r--src/theory/arith/infer_bounds.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/theory/arith/infer_bounds.cpp b/src/theory/arith/infer_bounds.cpp
index 4cbb8211d..aae9bae62 100644
--- a/src/theory/arith/infer_bounds.cpp
+++ b/src/theory/arith/infer_bounds.cpp
@@ -19,6 +19,8 @@
#include "theory/arith/infer_bounds.h"
#include "theory/rewriter.h"
+using namespace cvc5::kind;
+
namespace cvc5 {
namespace theory {
namespace arith {
@@ -149,7 +151,7 @@ Node InferBoundsResult::getTerm() const { return d_term; }
Node InferBoundsResult::getLiteral() const{
const Rational& q = getValue().getNoninfinitesimalPart();
NodeManager* nm = NodeManager::currentNM();
- Node qnode = nm->mkConst(q);
+ Node qnode = nm->mkConst(CONST_RATIONAL, q);
Kind k;
if(d_upperBound){
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback