diff options
Diffstat (limited to 'src/theory/bv/slicer.cpp')
-rw-r--r-- | src/theory/bv/slicer.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/theory/bv/slicer.cpp b/src/theory/bv/slicer.cpp index 0ffd58d5a..e1732625e 100644 --- a/src/theory/bv/slicer.cpp +++ b/src/theory/bv/slicer.cpp @@ -536,10 +536,14 @@ bool Slicer::isCoreTerm(TNode node) { if (d_coreTermCache.find(node) == d_coreTermCache.end()) { Kind kind = node.getKind(); bool not_core; - if (options::bitvectorEqualitySlicer() != BITVECTOR_SLICER_OFF) { - not_core = (kind != kind::BITVECTOR_EXTRACT && kind != kind::BITVECTOR_CONCAT); - } else { - not_core = true; + if (options::bitvectorEqualitySlicer() != options::BvSlicerMode::OFF) + { + not_core = + (kind != kind::BITVECTOR_EXTRACT && kind != kind::BITVECTOR_CONCAT); + } + else + { + not_core = true; } if (not_core && kind != kind::EQUAL && |