Ticket #6510 (closed defect: fixed)
[with patch, positive review] Adds __nonzero__ method to abelian groups
| Reported by: | tsutton | Owned by: | tbd |
|---|---|---|---|
| Priority: | minor | Milestone: | sage-4.1.1 |
| Component: | algebra | Keywords: | abelian groups |
| Cc: | Author(s): | Taylor Sutton | |
| Report Upstream: | Reviewer(s): | David Roe | |
| Merged in: | sage-4.1.1.alpha0 | Work issues: |
Description
sage: E=EllipticCurve([0,82]) sage: tor=E.torsion_subgroup() sage: if tor: ... print tor.order() 1
We'd like to have tor evaluate to false in boolean context.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

