summaryrefslogtreecommitdiff
path: root/src/theory/arith/basic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/arith/basic.h')
-rw-r--r--src/theory/arith/basic.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/theory/arith/basic.h b/src/theory/arith/basic.h
index 999b54b70..0f1cb07dc 100644
--- a/src/theory/arith/basic.h
+++ b/src/theory/arith/basic.h
@@ -1,7 +1,8 @@
-
+#include "expr/node.h"
#include "expr/attribute.h"
+
#ifndef __CVC4__THEORY__ARITH__BASIC_H
#define __CVC4__THEORY__ARITH__BASIC_H
@@ -15,7 +16,7 @@ typedef expr::Attribute<IsBasicAttrID, bool> IsBasic;
inline bool isBasic(TNode x){
- return x.hasAttribute(IsBasic());
+ return x.getAttribute(IsBasic());
}
inline void makeBasic(TNode x){
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback