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

Commit

Permalink
fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
saraedum committed Jan 4, 2014
1 parent 65d3c03 commit 8f255a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/sage/rings/padics/padic_printing.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -996,6 +996,7 @@ cdef class pAdicPrinter_class(SageObject):
if elt.parent()._implementation == 'FLINT':
poly, k = elt._flint_rep_abs()
L = [repr(a) for a in poly.coeffs()]
ZZ_pEX = 1
else:
if elt.parent().is_capped_relative():
poly, k = elt._ntl_rep_abs()
Expand Down
4 changes: 2 additions & 2 deletions src/sage/rings/padics/qadic_flint_FM.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ cdef class qAdicFixedModElement(FMElement):
sage: M = R(0,3).matrix_mod_pn(); M == 0
True
sage: M.base_ring()
Ring of integers modulo 125
Ring of integers modulo 3125
"""
return cmatrix_mod_pn(self.value, self.absprec, 0, self.prime_pow)
return cmatrix_mod_pn(self.value, self.prime_pow.prec_cap, 0, self.prime_pow)

def _flint_rep(self, var='x'):
"""
Expand Down

0 comments on commit 8f255a9

Please sign in to comment.