mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 09:35:32 +00:00
separate out parameter references for API call to fix build problem
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
25383796c6
commit
1c7d523838
1 changed files with 2 additions and 1 deletions
|
@ -148,7 +148,8 @@ extern "C" {
|
|||
param_descrs descrs;
|
||||
to_optimize_ref(o).collect_param_descrs(descrs);
|
||||
to_params(p)->m_params.validate(descrs);
|
||||
to_optimize_ref(o).updt_params(to_param_ref(p));
|
||||
params_ref pr = to_param_ref(p);
|
||||
to_optimize_ref(o).updt_params(pr);
|
||||
Z3_CATCH;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue