Skip to content

Commit ab921ad

Browse files
author
Release Manager
committed
gh-40109: Fix docstring for enumerate_totallyreal_fields_rel This PR fixes the docsting for enumerate_totallyreal_fields_rel. - Avoids using `d` as discriminant and index of a list. - Avoids using `n` and `m` for the degree. Should we clarify this? > with *absolute* discriminant `d \leq B`; ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [X] The title is concise and informative. - [X] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. URL: #40109 Reported by: Eloi Torrents Reviewer(s): Frédéric Chapoton
2 parents cff5209 + 834002e commit ab921ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/rings/number_field/totallyreal_rel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -650,9 +650,9 @@ def enumerate_totallyreal_fields_rel(F, m, B, a=[], verbose=0,
650650
651651
::
652652
653-
a[d]*x^n + ... + a[0]*x^(n-d)
653+
a[k]*x^m + ... + a[0]*x^(m-k)
654654
655-
if ``length(a) = d+1``, so in particular always ``a[d] = 1``.
655+
if ``length(a) = k+1``, so in particular always ``a[k] = 1``.
656656
657657
.. NOTE::
658658

0 commit comments

Comments
 (0)