Skip to content

Commit 18ace4e

Browse files
authored
adapt call site to int_to_Z
1 parent d8298b9 commit 18ace4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/rings/integer_ring.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ cdef class IntegerRing_class(PrincipalIdealDomain):
587587
-7
588588
"""
589589
if S is int:
590-
return sage.rings.integer.long_to_Z()
590+
return sage.rings.integer.int_to_Z()
591591
elif S is bool:
592592
return True
593593
elif is_numpy_type(S):

0 commit comments

Comments
 (0)