3
0
Fork 0
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:
Nikolaj Bjorner 2014-03-21 14:23:02 -07:00
parent 25383796c6
commit 1c7d523838

View file

@ -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;
}