We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 999bcc5 commit 603f4b6Copy full SHA for 603f4b6
stdlib/LinearAlgebra/src/dense.jl
@@ -541,10 +541,10 @@ function exp!(A::StridedMatrix{T}) where T<:BlasFloat
541
A2 = A * A
542
A4 = A2 * A2
543
A6 = A2 * A4
544
- U = A * (A6 * (CC[14]*A6 + CC[12]*A4 + CC[10]*A2) +
545
- CC[8]*A6 + CC[6]*A4 + CC[4]*A2 + CC[2]*Inn)
546
- V = A6 * (CC[13]*A6 + CC[11]*A4 + CC[9]*A2) +
547
- CC[7]*A6 + CC[5]*A4 + CC[3]*A2 + CC[1]*Inn
+ U = A * (A6 * (CC[14].*A6 .+ CC[12].*A4 .+ CC[10].*A2) .+
+ CC[8].*A6 .+ CC[6].*A4 .+ CC[4].*A2 .+ CC[2].*Inn)
+ V = A6 * (CC[13].*A6 .+ CC[11].*A4 .+ CC[9].*A2) .+
+ CC[7].*A6 .+ CC[5].*A4 .+ CC[3].*A2 .+ CC[1].*Inn
548
549
X = V + U
550
LAPACK.gesv!(V-U, X)
0 commit comments