30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
From c49eff347454ac7f07e5918470b20e97b8f2357e Mon Sep 17 00:00:00 2001
|
|
From: Matthias Koeppe <mkoeppe@math.ucdavis.edu>
|
|
Date: Fri, 4 Mar 2022 15:14:43 -0800
|
|
Subject: src/sage/calculus/calculus.py: Update laplace doctest for sympy 1.10
|
|
|
|
---
|
|
src/sage/calculus/calculus.py | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/src/sage/calculus/calculus.py b/src/sage/calculus/calculus.py
|
|
index 9c2f226..b335093 100644
|
|
--- a/src/sage/calculus/calculus.py
|
|
+++ b/src/sage/calculus/calculus.py
|
|
@@ -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
|
|
--
|
|
cgit v1.0-1-gd88e
|
|
|