mirror of
https://github.com/Z3Prover/z3
synced 2025-04-04 16:44:07 +00:00
add arguments to optimize_check fix #1866
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
09e40f6e23
commit
b1ab473035
|
@ -1952,7 +1952,7 @@ struct
|
|||
let minimize (x:optimize) (e:Expr.expr) = mk_handle x (Z3native.optimize_minimize (gc x) x e)
|
||||
|
||||
let check (x:optimize) =
|
||||
let r = lbool_of_int (Z3native.optimize_check (gc x) x 0 []) 0 in
|
||||
let r = lbool_of_int (Z3native.optimize_check (gc x) x 0 []) in
|
||||
match r with
|
||||
| L_TRUE -> Solver.SATISFIABLE
|
||||
| L_FALSE -> Solver.UNSATISFIABLE
|
||||
|
|
Loading…
Reference in a new issue