3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-04 16:44:07 +00:00

Add comments

This commit is contained in:
Joran Honig 2018-05-19 11:16:20 +02:00
parent 7d51353b8b
commit e32dfad81e

View file

@ -13,7 +13,10 @@ def calculate(x, n, ctx):
assert x.ctx == ctx
assert x.ctx != main_ctx()
# Parallel creation of z3 object
condition = And(x < 2, x > n, ctx)
# Parallel solving
solver = Solver(ctx=ctx)
solver.add(condition)
solver.check()