Opened 6 years ago

Closed 5 years ago

#22720 closed defect (fixed)

AdditiveAbelianGroup([]).annihilator() fails.

Reported by: Simon Brandhorst Owned by:
Priority: major Milestone: sage-8.0
Component: algebra Keywords: annihilator, abelian group, sd91
Cc: Merged in:
Authors: Amy Feaver Reviewers: Travis Scrimshaw
Report Upstream: N/A Work issues:
Branch: 360ce18 (Commits, GitHub, GitLab) Commit: 360ce18f8e3483e4af3fdd40ab33273a820f091b
Dependencies: Stopgaps:

Status badges

Description (last modified by Travis Scrimshaw)

sage: AdditiveAbelianGroup( [] ).annihilator()
...
TypeError: reduce() of empty sequence with no initial value

fails. The answer should be the ideal (1) of ZZ.

Change History (8)

comment:1 Changed 5 years ago by Simon Brandhorst

Keywords: sd91 added

comment:2 Changed 5 years ago by Amy Feaver

Branch: u/amy/additiveabeliangroup_____annihilator___fails_

comment:3 Changed 5 years ago by git

Commit: 360ce18f8e3483e4af3fdd40ab33273a820f091b

Branch pushed to git repo; I updated commit sha1. New commits:

1013f56fixed 0 to 1
360ce18added documentation

comment:4 Changed 5 years ago by Amy Feaver

Status: newneeds_review

comment:5 Changed 5 years ago by Travis Scrimshaw

Description: modified (diff)
Reviewers: Travis Scrimshaw

You can set a positive review once you add your (real) name to the author field.

comment:6 Changed 5 years ago by Amy Feaver

Authors: Amy Feaver

comment:7 Changed 5 years ago by Travis Scrimshaw

Status: needs_reviewpositive_review

comment:8 Changed 5 years ago by Volker Braun

Branch: u/amy/additiveabeliangroup_____annihilator___fails_360ce18f8e3483e4af3fdd40ab33273a820f091b
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.