You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sagemathgh-38961: Iteration over infinite abelian groups
Fixessagemath#30751.
This PR adds code to the `__iter__` method of `AbelianGroup` to handle
infinite groups. For backward compatibility (and because the finite case
is simpler and probably more efficient), the code for the finite case
has been retained.
### 📝 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.
- [x] I have linked a relevant issue or discussion.
- [x] I have created tests covering the changes.
- [x] I have updated the documentation and checked the documentation
preview.
URL: sagemath#38961
Reported by: DaveWitteMorris
Reviewer(s): DaveWitteMorris, Martin Rubey
0 commit comments