Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
src/sage/calculus/calculus.py: Update laplace doctest for sympy 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Mar 4, 2022
1 parent cd66605 commit c49eff3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sage/calculus/calculus.py
Original file line number Diff line number Diff line change
Expand Up @@ -1639,9 +1639,9 @@ def laplace(ex, t, s, algorithm='maxima'):
sage: laplace(dirac_delta(t), t, s)
1
sage: F, a, cond = laplace(dirac_delta(t), t, s, algorithm='sympy')
sage: a, cond
(-oo, True)
sage: F # random - sympy <1.9 includes undefined heaviside(0) in answer
sage: a, cond # random - sympy <1.10 gives (-oo, True)
(0, True)
sage: F # random - sympy <1.9 includes undefined heaviside(0) in answer
1
sage: laplace(dirac_delta(t), t, s, algorithm='giac')
1
Expand Down

0 comments on commit c49eff3

Please sign in to comment.