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

Commit

Permalink
src/sage/rings/padics/padic_template_element.pxi: Remove .all import
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jul 25, 2022
1 parent 5047328 commit eecd577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/rings/padics/padic_template_element.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ cdef class pAdicTemplateElement(pAdicGenericElement):
if field and absprec != 1:
raise ValueError("field keyword may only be set at precision 1")
if absprec == 0:
from sage.rings.all import IntegerModRing
from sage.rings.finite_rings.integer_mod_ring import IntegerModRing
return IntegerModRing(1).zero()
elif absprec == 1:
parent = R.residue_field()
Expand Down

0 comments on commit eecd577

Please sign in to comment.