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

expand_func(besselj(oo, x)) -> RecursionError #21486

Closed
ehren opened this issue May 18, 2021 · 1 comment · Fixed by #21487
Closed

expand_func(besselj(oo, x)) -> RecursionError #21486

ehren opened this issue May 18, 2021 · 1 comment · Fixed by #21487

Comments

@ehren
Copy link
Contributor

ehren commented May 18, 2021

from sympy import *
from sympy.abc import x
expand_func(besselj(oo, x))
...
 line 86, in _eval_expand_func
    if (nu - 1).is_extended_positive:
...
RecursionError: maximum recursion depth exceeded in comparison
@ehren
Copy link
Contributor Author

ehren commented May 18, 2021

This isn't a regression, the same error occurred before the recent-ish introduction of is_extended_positive/negative. But this can be easily fixed because is_positive now implies finite. See pull #21487.

skirpichev added a commit to skirpichev/diofant that referenced this issue May 19, 2021
skirpichev added a commit to skirpichev/diofant that referenced this issue Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant