mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 12:28:44 +00:00
Python 3 compat for z3.py; patch by Sarah Winkler
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
This commit is contained in:
parent
45cfb80d14
commit
980a0e97f8
|
@ -6495,7 +6495,7 @@ class Optimize(Z3PPObject):
|
|||
return CheckSatResult(Z3_optimize_check(self.ctx.ref(), self.optimize))
|
||||
|
||||
def reason_unknown(self):
|
||||
"""Return a string that describes why the last `check()` returned `unknown`."""
|
||||
"""Return a string that describes why the last `check()` returned `unknown`."""
|
||||
return Z3_optimize_get_reason_unknown(self.ctx.ref(), self.optimize)
|
||||
|
||||
def model(self):
|
||||
|
|
Loading…
Reference in a new issue