mirror of
https://github.com/Z3Prover/z3
synced 2025-04-14 12:58:44 +00:00
ML API or' is deprecated, changed to
||'
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
parent
9dc8021995
commit
eb72afabfb
|
@ -748,7 +748,7 @@ end = struct
|
||||||
Expr(z3_native_object_of_ast_ptr ctx no)
|
Expr(z3_native_object_of_ast_ptr ctx no)
|
||||||
else
|
else
|
||||||
if (Z3native.is_numeral_ast (context_gno ctx) no) then
|
if (Z3native.is_numeral_ast (context_gno ctx) no) then
|
||||||
if (sk == INT_SORT or sk == REAL_SORT or sk == BV_SORT) then
|
if (sk == INT_SORT || sk == REAL_SORT || sk == BV_SORT) then
|
||||||
Expr(z3_native_object_of_ast_ptr ctx no)
|
Expr(z3_native_object_of_ast_ptr ctx no)
|
||||||
else
|
else
|
||||||
raise (Z3native.Exception "Unsupported numeral object")
|
raise (Z3native.Exception "Unsupported numeral object")
|
||||||
|
|
Loading…
Reference in a new issue