3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 09:34:08 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-24 10:44:20 -07:00
parent c3b33aae8a
commit a3844af94b

View file

@ -270,7 +270,7 @@ namespace qe {
bool is_boolop =
(a->get_family_id() == m.get_basic_family_id()) &&
(!m.is_eq(a) || m.is_bool(a->get_arg(0))) &&
(!m.is_distinct(a) || m.is_bool(a->get_arg(0)));
(!m.is_distinct(a) || a->get_num_args() == 0 || m.is_bool(a->get_arg(0)));
if (!is_boolop && m.is_bool(a)) {
TRACE("qe", tout << mk_pp(a, m) << "\n";);