Closed user202729 closed 9 hours ago
sage: var("s t") (s, t) sage: inverse_laplace( s+exp(-s) , s, t, algorithm='giac') Giac crashed -- automatically restarting. sage0*dirac_delta(sage2)
No crash and result is correct
-
Comes from a doctest on my machine
********************************************************************** File "src/sage/calculus/calculus.py", line 1906, in sage.calculus.calculus.inverse_laplace Failed example: inverse_laplace((2*s^2*exp(-2*s) - exp(-s))/(s^3+1), s, t, algorithm='giac') Expected: -1/3*(sqrt(3)*e^(1/2*t - 1/2)*sin(1/2*sqrt(3)*(t - 1)) - cos(1/2*sqrt(3)*(t - 1))*e^(1/2*t - 1/2) + e^(-t + 1))*heaviside(t - 1) + 2/3*(2*cos(1/2*sqrt(3)*(t - 2))*e^(1/2*t - 1) + e^(-t + 2))*heaviside(t - 2) Got: Giac crashed -- automatically restarting. sage34*dirac_delta(sage36) **********************************************************************
Can't reproduce anymore, but originally Giac was built with make. Now I use conda+meson.
make
Steps To Reproduce
Expected Behavior
No crash and result is correct
Actual Behavior
-
Additional Information
Comes from a doctest on my machine
Environment
Checklist