Ticket #8446 (closed defect: fixed)
avoid 0^0 in number fields
|Reported by:||rlm||Owned by:||davidloeffler|
|Report Upstream:||N/A||Reviewers:||David Loeffler|
|Authors:||Robert Miller||Merged in:||sage-4.4.alpha2|
Description (last modified by rlm) (diff)
In the case of a trivial number field, such as
K.<a> = NumberField(polygen(QQ))
the Selmer group function doesn't work, since the generator a of the number field is 0, and when we're constructing polynomials we use the form coeff*a**i. However, if i==0, we get an ArithmeticError since Sage does not have conventions for 0^0.
I found several places where this comes up, and I've fixed them where I can.
- Description modified (diff)
- Summary changed from avoid 0^0 in Selmer groups of number fields to avoid 0^0 in number fields
- Status changed from needs_review to positive_review
- Reviewers set to David Loeffler