3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 16:45:31 +00:00

bugfix for FPA

This commit is contained in:
Christoph M. Wintersteiger 2014-02-24 14:01:51 +00:00
parent 4a9f12dd34
commit efd0cdc740

View file

@ -52,7 +52,7 @@ struct is_non_qffpa_predicate {
sort * s = get_sort(n);
if (!m.is_bool(s) && !(u.is_float(s) || u.is_rm(s)))
throw found();
if (is_uninterp(n))
if (is_uninterp(n) && n->get_num_args() != 0)
throw found();
family_id fid = s->get_family_id();
if (fid == m.get_basic_family_id())
@ -80,7 +80,7 @@ struct is_non_qffpabv_predicate {
sort * s = get_sort(n);
if (!m.is_bool(s) && !(fu.is_float(s) || fu.is_rm(s) || bu.is_bv_sort(s)))
throw found();
if (is_uninterp(n))
if (is_uninterp(n) && n->get_num_args() != 0)
throw found();
family_id fid = s->get_family_id();
if (fid == m.get_basic_family_id())