Skip to content

Fix bug in list functionality of free module bases #22518

@egourgoulhon

Description

@egourgoulhon

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions