mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
addressing max-segment issue for AMD64 + Debug
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
14e8126f16
commit
665fccf07a
3 changed files with 42 additions and 16 deletions
|
@ -1547,6 +1547,9 @@ def And(*args):
|
|||
if isinstance(last_arg, Context):
|
||||
ctx = args[len(args)-1]
|
||||
args = args[:len(args)-1]
|
||||
elif len(args) == 1 and isinstance(args[0], AstVector):
|
||||
ctx = args[0].ctx
|
||||
args = [a for a in args[0]]
|
||||
else:
|
||||
ctx = main_ctx()
|
||||
args = _get_args(args)
|
||||
|
@ -6773,7 +6776,7 @@ class Optimize(Z3PPObject):
|
|||
return Z3_optimize_to_string(self.ctx.ref(), self.optimize)
|
||||
|
||||
def statistics(self):
|
||||
"""Return statistics for the last `query()`.
|
||||
"""Return statistics for the last check`.
|
||||
"""
|
||||
return Statistics(Z3_optimize_get_statistics(self.ctx.ref(), self.optimize), self.ctx)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue