Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug in list functionality of free module bases #22518

Closed
egourgoulhon opened this issue Mar 5, 2017 · 8 comments
Closed

Fix bug in list functionality of free module bases #22518

egourgoulhon opened this issue Mar 5, 2017 · 8 comments

Comments

@egourgoulhon
Copy link
Member

The following is a bug:

sage: M = FiniteRankFreeModule(ZZ, 3, name='M', start_index=1)
sage: e = M.basis('e')
sage: list(e)
...
ValueError: Index out of range: 0 not in [1,3]

This ticket fixes it.

CC: @tscrim

Component: linear algebra

Keywords: free module, basis

Author: Eric Gourgoulhon

Branch/Commit: ec8fc98

Reviewer: Travis Scrimshaw

Issue created by migration from https://trac.sagemath.org/ticket/22518

@egourgoulhon
Copy link
Member Author

Branch: public/manifolds/bug-22518

@egourgoulhon
Copy link
Member Author

New commits:

ec8fc98Fix bug in list functionality of free module bases (#22518)

@egourgoulhon
Copy link
Member Author

Commit: ec8fc98

@tscrim
Copy link
Collaborator

tscrim commented Mar 5, 2017

comment:2

LGTM.

@tscrim
Copy link
Collaborator

tscrim commented Mar 5, 2017

Reviewer: Travis Scrimshaw

@egourgoulhon
Copy link
Member Author

comment:3

Thanks Travis for the review!

@tscrim
Copy link
Collaborator

tscrim commented Mar 5, 2017

comment:4

It was nice and simple.

@vbraun
Copy link
Member

vbraun commented Mar 8, 2017

Changed branch from public/manifolds/bug-22518 to ec8fc98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants