mirror of
https://github.com/Z3Prover/z3
synced 2025-04-25 10:05:32 +00:00
protecting add_simplifier API against mis-use
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
151a62338c
commit
19fed09122
2 changed files with 28 additions and 8 deletions
|
@ -8214,8 +8214,6 @@ class Simplifier:
|
|||
|
||||
def add(self, solver):
|
||||
"""Return a solver that applies the simplification pre-processing specified by the simplifier"""
|
||||
print(solver.solver)
|
||||
print(self.simplifier)
|
||||
return Solver(Z3_solver_add_simplifier(self.ctx.ref(), solver.solver, self.simplifier), self.ctx)
|
||||
|
||||
def help(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue