mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 18:31:49 +00:00
fixed memory smash
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
294d40889f
commit
75739fdf7b
|
@ -483,10 +483,13 @@ struct th_rewriter_cfg : public default_rewriter_cfg {
|
|||
f = to_app(t1)->get_decl();
|
||||
return unify_core(to_app(t1), t2, new_t1, new_t2, c, first);
|
||||
}
|
||||
else {
|
||||
else if (is_arith_bv_app(t2)) {
|
||||
f = to_app(t2)->get_decl();
|
||||
return unify_core(to_app(t2), t1, new_t2, new_t1, c, first);
|
||||
}
|
||||
else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
// Apply transformations of the form
|
||||
|
|
Loading…
Reference in a new issue