3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 09:35:32 +00:00

bugfix for FPA

This commit is contained in:
Christoph M. Wintersteiger 2014-02-24 13:57:15 +00:00
parent 07d56bdc70
commit 4a9f12dd34

View file

@ -52,6 +52,8 @@ 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))
throw found();
family_id fid = s->get_family_id();
if (fid == m.get_basic_family_id())
return;
@ -78,6 +80,8 @@ 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))
throw found();
family_id fid = s->get_family_id();
if (fid == m.get_basic_family_id())
return;