aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/laplace.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/laplace.spad.pamphlet')
-rw-r--r--src/algebra/laplace.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/laplace.spad.pamphlet b/src/algebra/laplace.spad.pamphlet
index e961658a..9bbabadb 100644
--- a/src/algebra/laplace.spad.pamphlet
+++ b/src/algebra/laplace.spad.pamphlet
@@ -97,7 +97,7 @@ LaplaceTransform(R, F): Exports == Implementation where
atn(f, t) ==
if ((v := isExpt f) case Record(var:K, exponent:Integer)) then
w := v::Record(var:K, exponent:Integer)
- (w.exponent > 0) and
+ positive?(w.exponent) and
((vv := symbolIfCan(w.var)) case SE) and (vv::SE = t) =>
return [1, w.exponent::PI]
(u := isTimes f) case List(F) =>