summaryrefslogtreecommitdiff
path: root/src/theory/rr_inst_match.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/rr_inst_match.h')
-rw-r--r--src/theory/rr_inst_match.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/theory/rr_inst_match.h b/src/theory/rr_inst_match.h
index d89b221bb..68b6e1bfd 100644
--- a/src/theory/rr_inst_match.h
+++ b/src/theory/rr_inst_match.h
@@ -35,6 +35,9 @@
#include "expr/node_manager.h"
#include "expr/node_builder.h"
+#include "theory/quantifiers/options.h"
+#include "theory/rewriterules/options.h"
+
//#define USE_EFFICIENT_E_MATCHING
namespace CVC4 {
@@ -65,8 +68,8 @@ public:
/** legal candidate */
static inline bool isLegalCandidate( TNode n ){
return !n.getAttribute(NoMatchAttribute()) &&
- ( !Options::current()->cbqi || !n.hasAttribute(InstConstantAttribute())) &&
- ( !Options::current()->efficientEMatching || n.hasAttribute(AvailableInTermDb()) );
+ ( !options::cbqi() || !n.hasAttribute(InstConstantAttribute())) &&
+ ( !options::efficientEMatching() || n.hasAttribute(AvailableInTermDb()) );
}
};
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback