From 6a84e271abecb437bd74f9df1d796f4972136021 Mon Sep 17 00:00:00 2001 From: Aina Niemetz Date: Tue, 23 Jan 2018 12:02:42 -0800 Subject: [PATCH] Fix MULT handling for CBQI BV. (#1531) --- src/theory/quantifiers/bv_inverter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/theory/quantifiers/bv_inverter.cpp b/src/theory/quantifiers/bv_inverter.cpp index cf16efbfa..975016d34 100644 --- a/src/theory/quantifiers/bv_inverter.cpp +++ b/src/theory/quantifiers/bv_inverter.cpp @@ -2897,7 +2897,8 @@ Node BvInverter::solveBvLit(Node sv, { t = nm->mkNode(BITVECTOR_XOR, t, s); } - else if (k == BITVECTOR_MULT && s.isConst() && bv::utils::getBit(s, 0)) + else if (litk == EQUAL && k == BITVECTOR_MULT + && s.isConst() && bv::utils::getBit(s, 0)) { unsigned w = bv::utils::getSize(s); Integer s_val = s.getConst().toInteger(); -- 2.30.2