mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 02:15:19 +00:00
make parameters accessible from expressions. Issue #896
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b3dabc7ccf
commit
6fcba26ea6
|
@ -868,6 +868,9 @@ class ExprRef(AstRef):
|
|||
_args, sz = _to_ast_array((a, b))
|
||||
return BoolRef(Z3_mk_distinct(self.ctx_ref(), 2, _args), self.ctx)
|
||||
|
||||
def params(self):
|
||||
return self.decl().params()
|
||||
|
||||
def decl(self):
|
||||
"""Return the Z3 function declaration associated with a Z3 application.
|
||||
|
||||
|
|
Loading…
Reference in a new issue