Skip to content

Commit 49d889e

Browse files
committed
fix LU
1 parent 5b72bab commit 49d889e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solve.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function sym_lu(A)
2828

2929
for j = k+1:m
3030
L[j,k] = U[j, k] / U[k, k]
31-
U[j,k:m] .= U[j,k:m] .- simplifying_dot(L[j,k], U[k,k:m])
31+
U[j,k:m] .= U[j,k:m] .- L[j,k] .* U[k,k:m]
3232
end
3333
end
3434
factors = copy(U)

0 commit comments

Comments
 (0)