diff options
Diffstat (limited to 'src/expr/node_builder.h')
-rw-r--r-- | src/expr/node_builder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr/node_builder.h b/src/expr/node_builder.h index fcb503d37..fa9b1c011 100644 --- a/src/expr/node_builder.h +++ b/src/expr/node_builder.h @@ -742,7 +742,7 @@ public: #include "expr/node.h" #include "expr/node_manager.h" -#include "util/options.h" +#include "expr/options.h" namespace CVC4 { @@ -1301,7 +1301,7 @@ inline void NodeBuilder<nchild_thresh>::maybeCheckType(const TNode n) const throw(TypeCheckingExceptionPrivate, AssertionException) { /* force an immediate type check, if early type checking is enabled and the current node isn't a variable or constant */ - if( d_nm->getOptions()->earlyTypeChecking ) { + if( d_nm->getOptions()[options::earlyTypeChecking] ) { kind::MetaKind mk = n.getMetaKind(); if( mk != kind::metakind::VARIABLE && mk != kind::metakind::CONSTANT ) { |