mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 12:28:44 +00:00
bugfix for fpa2bv model converter
This commit is contained in:
parent
2bbca192e3
commit
9a10d2dcee
|
@ -412,7 +412,7 @@ void fpa2bv_model_converter::convert(model * bv_mdl, model * float_mdl) {
|
|||
// Just keep.
|
||||
expr_ref val(m);
|
||||
bv_mdl->eval(it->m_value, val);
|
||||
float_mdl->register_decl(f, val);
|
||||
if (val) float_mdl->register_decl(f, val);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue