Skip to content

creating a morphism of the lie algebra gl_n enters (probably infinite) recursion #40780

@DolphinTechCodes

Description

@DolphinTechCodes

Steps To Reproduce

I try to create a morphism from the lie algebra gl(n). This however results in a RecursionError.
This is the simplest example to recreate the behavior:

from sage.all import *
gl = lie_algebras.gl(QQ, 2)
gl.morphism({e:e for e in gl.gens()})

Expected Behavior

I expect this example to return an identity morphism.

Actual Behavior

Instead of returning a morphism, sage enters a probably infinite recursion and eventually throws an RecursionError.

Additional Information

No response

Environment

  • OS: Ubuntu
  • Sage Version: 10.5

Checklist

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • I have read the documentation and troubleshoot guide

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions