}
}
- if (options::cbqiBv()) {
+ if (options::cbqiBv() && d_logic.isQuantified())
+ {
if(options::boolToBitvector.wasSetByUser()) {
- throw OptionException("bool-to-bv not supported with CBQI BV");
+ throw OptionException(
+ "bool-to-bv not supported with CBQI BV for quantified logics");
}
Notice() << "SmtEngine: turning off bool-to-bitvector to support CBQI BV"
<< endl;
litk = k = lit.getKind();
/* Note: option --bool-to-bv is currently disabled when CBQI BV
- * is enabled. We currently do not support Boolean operators
+ * is enabled and the logic is quantified.
+ * We currently do not support Boolean operators
* that are interpreted as bit-vector operators of width 1. */
/* Boolean layer ----------------------------------------------- */