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