Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 10b0144

Browse files
committed
Use default coercion/conversion maps when generating integer polynomials
1 parent f46abe6 commit 10b0144

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/rings/polynomial/polynomial_integer_dense_flint.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ cdef class Polynomial_integer_dense_flint(Polynomial):
218218
return
219219
else:
220220
# coerce coefficients into Sage integers
221-
x = [Integer(a) for a in x.list()]
221+
x = [ZZ(a) for a in x.list()]
222222
check = False
223223

224224
elif isinstance(x, dict):

0 commit comments

Comments
 (0)