Skip to content

Commit

Permalink
Fix some doctest dataflow warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Feb 10, 2024
1 parent 998535f commit 577b3bd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/sage/rings/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ProductTree:
Similarly, the :meth:`interpolation` method can be used to implement
the inverse Fast Fourier Transform::
sage: tree.interpolation(zs).padded_list(len(ys)) == ys
sage: tree.interpolation(zs).padded_list(len(ys)) == ys # needs sage.rings.finite_rings
True
This class encodes the tree as *layers*: Layer `0` is just a tuple
Expand Down
4 changes: 2 additions & 2 deletions src/sage/rings/polynomial/polynomial_rational_flint.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2127,11 +2127,11 @@ cdef class Polynomial_rational_flint(Polynomial):
::
sage: # needs sage.libs.pari
sage: # needs sage.groups sage.libs.pari
sage: f = x^4 - 17*x^3 - 2*x + 1
sage: G = f.galois_group(pari_group=True); G
PARI group [24, -1, 5, "S4"] of degree 4
sage: PermutationGroup(G) # needs sage.groups
sage: PermutationGroup(G)
Transitive group number 5 of degree 4
You can use KASH or GAP to compute Galois groups as well. The advantage is
Expand Down
1 change: 1 addition & 0 deletions src/sage/schemes/curves/affine_curve.py
Original file line number Diff line number Diff line change
Expand Up @@ -1801,6 +1801,7 @@ def fundamental_group(self, simplified=True, puiseux=False):
to the algebraic field::
sage: # needs sage.rings.number_field
sage: x = polygen(ZZ)
sage: a = QQ[x](x^2 + 5).roots(QQbar)[0][0]
sage: F = NumberField(a.minpoly(), 'a', embedding=a)
sage: F.inject_variables()
Expand Down

0 comments on commit 577b3bd

Please sign in to comment.