This fixes an incorrect condition introduced in #1619 to disable the BV equality slicer.
bool useSlicer = true;
if (options::bitvectorEqualitySlicer() == bv::BITVECTOR_SLICER_ON)
{
- if (!d_logicInfo.isPure(theory::THEORY_BV) && !d_logicInfo.isQuantified())
+ if (!d_logicInfo.isPure(theory::THEORY_BV) || d_logicInfo.isQuantified())
throw ModalException(
"Slicer currently only supports pure QF_BV formulas. Use "
"--bv-eq-slicer=off");
}
else if (options::bitvectorEqualitySlicer() == bv::BITVECTOR_SLICER_AUTO)
{
- if ((!d_logicInfo.isPure(theory::THEORY_BV) && !d_logicInfo.isQuantified())
+ if ((!d_logicInfo.isPure(theory::THEORY_BV) || d_logicInfo.isQuantified())
|| options::incrementalSolving()
|| options::produceModels())
return;