mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 14:13:23 +00:00
parent
6a0c409b0f
commit
5fa5719c6f
1 changed files with 1 additions and 1 deletions
|
@ -10147,7 +10147,7 @@ def IndexOf(s, substr, offset):
|
||||||
substr = _coerce_seq(substr, ctx)
|
substr = _coerce_seq(substr, ctx)
|
||||||
if _is_int(offset):
|
if _is_int(offset):
|
||||||
offset = IntVal(offset, ctx)
|
offset = IntVal(offset, ctx)
|
||||||
return SeqRef(Z3_mk_seq_index(s.ctx_ref(), s.as_ast(), substr.as_ast(), offset.as_ast()), s.ctx)
|
return ArithRef(Z3_mk_seq_index(s.ctx_ref(), s.as_ast(), substr.as_ast(), offset.as_ast()), s.ctx)
|
||||||
|
|
||||||
def Length(s):
|
def Length(s):
|
||||||
"""Obtain the length of a sequence 's'
|
"""Obtain the length of a sequence 's'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue