diff --git a/src/truncated/lognormal.jl b/src/truncated/lognormal.jl index 7678c9d90..1c8294573 100644 --- a/src/truncated/lognormal.jl +++ b/src/truncated/lognormal.jl @@ -37,7 +37,7 @@ function kurtosis(d::Truncated{<:LogNormal}) m3 = mgf(tn, 3) m4 = mgf(tn, 4) v = m2 - m1^2 - return evalpoly(m1, (m4, -4m3, 6m2, 0, -3)) / v^2 - 3 + return @horner(m1, m4, -4m3, 6m2, 0, -3) / v^2 - 3 end median(d::Truncated{<:LogNormal}) = exp(median(_truncnorm(d)))