Skip to content

Commit f645f8d

Browse files
fix #2537
Signed-off-by: Nikolaj Bjorner <[email protected]>
1 parent 29f0897 commit f645f8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/python/z3/z3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9988,7 +9988,7 @@ def __radd__(self, other):
99889988
def __getitem__(self, i):
99899989
if _is_int(i):
99909990
i = IntVal(i, self.ctx)
9991-
return SeqRef(Z3_mk_seq_nth(self.ctx_ref(), self.as_ast(), i.as_ast()), self.ctx)
9991+
return _to_expr_ref(Z3_mk_seq_nth(self.ctx_ref(), self.as_ast(), i.as_ast()), self.ctx)
99929992

99939993
def at(self, i):
99949994
if _is_int(i):

0 commit comments

Comments
 (0)