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

infinite recursion in exponential of sparse matrices #28935

Closed
mwageringel opened this issue Jan 1, 2020 · 9 comments
Closed

infinite recursion in exponential of sparse matrices #28935

mwageringel opened this issue Jan 1, 2020 · 9 comments

Comments

@mwageringel
Copy link

sage: matrix([[0]], sparse=True).exp()
...
RecursionError: maximum recursion depth exceeded while calling a Python object

as reported at https://ask.sagemath.org/question/49190/exponential-function-does-not-work-for-diagonal-matrices.

Component: symbolics

Author: Markus Wageringel

Branch: 1ec3605

Reviewer: Frédéric Chapoton

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

@mwageringel mwageringel added this to the sage-9.1 milestone Jan 1, 2020
@mwageringel
Copy link
Author

New commits:

1ec360528935: fix exponential of sparse matrix

@mwageringel
Copy link
Author

Commit: 1ec3605

@mwageringel
Copy link
Author

Branch: u/gh-mwageringel/28935

@mwageringel
Copy link
Author

Author: Markus Wageringel

@fchapoton
Copy link
Contributor

Reviewer: Frédéric Chapoton

@fchapoton
Copy link
Contributor

comment:2

ok, as a bandaid

@vbraun
Copy link
Member

vbraun commented Jan 9, 2020

Changed branch from u/gh-mwageringel/28935 to 1ec3605

@kcrisman
Copy link
Member

Changed commit from 1ec3605 to none

@kcrisman
Copy link
Member

comment:4

See also #12101 and some of the comments there - bandaid indeed, due to heavy computation and perhaps people don't want denseness.

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

4 participants