Skip to content

Commit

Permalink
linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
GiacomoPope committed Aug 5, 2024
1 parent a0be37d commit d424bda
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/sage/libs/ntl/ntl_ZZ_pX.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,7 @@ cdef class ntl_ZZ_pX():
To be precise about the order fo compostion, given ``self``, ``other``
and ``modulus`` as `f(x)`, `g(x)` and `h(x)` compute `f(g(x)) \mod h(x)`.
INPUT:
- ``other`` -- a polynomial `g(x)`
Expand All @@ -1503,7 +1503,7 @@ cdef class ntl_ZZ_pX():
sig_on()
# NTL requires that g is reduced
other = other % modulus

# Build the modulus type
ZZ_pX_Modulus_build(mod, modulus.x)

Expand Down
3 changes: 2 additions & 1 deletion src/sage/rings/polynomial/polynomial_modn_dense_ntl.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ cdef class Polynomial_dense_mod_n(Polynomial):
To be precise about the order fo compostion, given ``self``, ``other``
and ``modulus`` as `f(x)`, `g(x)` and `h(x)` compute `f(g(x)) \mod h(x)`.
INPUT:
- ``other`` -- a polynomial `g(x)`
Expand Down Expand Up @@ -463,6 +463,7 @@ cdef class Polynomial_dense_mod_n(Polynomial):
res = elt.modular_composition(other, mod)
return self.parent()(res, construct=True)


def small_roots(self, X=None, beta=1.0, epsilon=None, **kwds):
r"""
Let `N` be the characteristic of the base ring this polynomial
Expand Down
2 changes: 1 addition & 1 deletion src/sage/rings/polynomial/polynomial_zmod_flint.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ cdef class Polynomial_zmod_flint(Polynomial_template):
To be precise about the order fo compostion, given ``self``, ``other``
and ``modulus`` as `f(x)`, `g(x)` and `h(x)` compute `f(g(x)) \mod h(x)`.
INPUT:
- ``other`` -- a polynomial `g(x)`
Expand Down

0 comments on commit d424bda

Please sign in to comment.