3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 13:28:47 +00:00

Bugfix for FP to BV conversion of UFs

This commit is contained in:
Christoph M. Wintersteiger 2015-09-01 17:52:19 +01:00
parent 0ed38ed59b
commit 336fa6ae83

View file

@ -176,7 +176,7 @@ struct fpa2bv_rewriter_cfg : public default_rewriter_cfg {
} }
} }
if (f->get_family_id() != m_conv.fu().get_family_id()) if (f->get_family_id() != 0 && f->get_family_id() != m_conv.fu().get_family_id())
{ {
bool is_float_uf = m_conv.is_float(f->get_range()); bool is_float_uf = m_conv.is_float(f->get_range());
unsigned i = 0; unsigned i = 0;