sympy / sympy

A computer algebra system written in pure Python
https://sympy.org/
Other
13k stars 4.44k forks source link

RecursionError in inverse_laplace_transform #25520

Closed proy87 closed 1 year ago

proy87 commented 1 year ago

inverse_laplace_transform(1/(s**4 - 4*s**3 + 5*s**2 - 2*s + 1), s, t) raises RecursionError

hanspi42 commented 1 year ago

Thanks for telling us!

This runs without problems in the most recent development version, so I looked for the fix using git bisect.

Turns out that I had solved this by chance in #24778 when I re-wrote laplace_deep_collect. :)