Skip to content

Commit a3844af

Browse files
fix #4081
Signed-off-by: Nikolaj Bjorner <[email protected]>
1 parent c3b33aa commit a3844af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qe/qsat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ namespace qe {
270270
bool is_boolop =
271271
(a->get_family_id() == m.get_basic_family_id()) &&
272272
(!m.is_eq(a) || m.is_bool(a->get_arg(0))) &&
273-
(!m.is_distinct(a) || m.is_bool(a->get_arg(0)));
273+
(!m.is_distinct(a) || a->get_num_args() == 0 || m.is_bool(a->get_arg(0)));
274274

275275
if (!is_boolop && m.is_bool(a)) {
276276
TRACE("qe", tout << mk_pp(a, m) << "\n";);

0 commit comments

Comments
 (0)