mirror of
https://github.com/Z3Prover/z3
synced 2026-02-13 04:13:01 +00:00
Refactor mk_concat call sites to use std::initializer_list (#8494)
* Initial plan * Refactor mk_concat call sites to use std::initializer_list Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
63f05ff6e6
commit
4b7e02ebdd
6 changed files with 16 additions and 37 deletions
|
|
@ -4367,8 +4367,7 @@ app_ref fpa2bv_converter_wrapped::wrap(expr* e) {
|
|||
app_ref res(m);
|
||||
|
||||
if (m_util.is_fp(e)) {
|
||||
expr* cargs[3] = { to_app(e)->get_arg(0), to_app(e)->get_arg(1), to_app(e)->get_arg(2) };
|
||||
expr_ref tmp(m_bv_util.mk_concat(3, cargs), m);
|
||||
expr_ref tmp(m_bv_util.mk_concat({to_app(e)->get_arg(0), to_app(e)->get_arg(1), to_app(e)->get_arg(2)}), m);
|
||||
m_rw(tmp);
|
||||
res = to_app(tmp);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue