Ticket #1902 (closed defect: fixed)
[with patch, positive review] mistake in the documentation for gens for Finite field givaro
| Reported by: | was | Owned by: | cremona |
|---|---|---|---|
| Priority: | major | Milestone: | sage-2.10.3 |
| Component: | basic arithmetic | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
> sage: sage.rings.finite_field_givaro.FiniteField_givaro.gen?
> [...]
> Docstring:
>
> Return a generator of self. All elements x of self are
> expressed as log_{self.gen()}(p) internally. If self is
> a prime field this method returns 1.
>
> (The sentence "If self is a prime field..." is wrong, but the first
> sentence is correct.)
Attachments
Change History
comment:1 Changed 5 years ago by cremona
- Owner changed from somebody to cremona
- Status changed from new to assigned
- Summary changed from mistake in the documentation for gens for Finite field givaro to [with patch, needs review] mistake in the documentation for gens for Finite field givaro
Attached patch corrects the docstring and adds a new doctest which is relevant,
comment:2 Changed 5 years ago by cwitty
- Summary changed from [with patch, needs review] mistake in the documentation for gens for Finite field givaro to [with patch, positive review] mistake in the documentation for gens for Finite field givaro
I hand-edited John's original 8683.patch to create edited-8683.patch: I changed "primitve" -> "primitive".
With this revised patch: looks good, the doctest passes.
Note: See
TracTickets for help on using
tickets.

