mirror of
https://github.com/Z3Prover/z3
synced 2026-07-14 19:15:41 +00:00
Fix bv2int_translator assertion: extend early-return for non-basic bool non-BV expressions in plugin mode
This commit is contained in:
parent
88d0d282d6
commit
f662eed78d
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ void bv2int_translator::translate_expr(expr* e) {
|
|||
translate_var(to_var(e));
|
||||
else {
|
||||
app* ap = to_app(e);
|
||||
if (m_is_plugin && ap->get_family_id() == basic_family_id && m.is_bool(ap)) {
|
||||
if (m_is_plugin && m.is_bool(ap) && ap->get_family_id() != bv.get_family_id()) {
|
||||
set_translated(e, e);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue