Skip to content

Commit 28698fb

Browse files
Update ext/LinearSolveRecursiveFactorizationExt.jl
Co-authored-by: Oscar Smith <oscardssmith@gmail.com>
1 parent 5145c99 commit 28698fb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ext/LinearSolveRecursiveFactorizationExt.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,7 @@ function SciMLBase.solve!(cache::LinearSolve.LinearCache, alg::ButterflyFactoriz
130130

131131
workspace, F = cache.cacheval
132132
(;A, b, ws, U, V, out, tmp, n) = workspace
133-
for i in 1:M
134-
@inbounds b[i] = cache_b[i]
135-
end
133+
b .= cache_b
136134
mul!(tmp, U', b)
137135
TriangularSolve.ldiv!(F, tmp, thread)
138136
mul!(b, V, tmp)

0 commit comments

Comments
 (0)