Skip to content

Commit

Permalink
Correct MulAddMul in triangular * Diagonal __muldiag_nonzeroalpha!
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub committed Oct 28, 2024
1 parent 14c01fa commit a6557e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/LinearAlgebra/src/diagonal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ function __muldiag_nonzeroalpha!(out, A::UpperOrLowerTriangular, D::Diagonal, _a
if !_has_matching_zeros(out, A)
rowrange = _rowrange_tri_zeros(A, j)
@inbounds @simd for i in rowrange
_modify!(_add, A[i,j] * dja, out, (i,j))
_modify!(_add_aisone, A[i,j] * dja, out, (i,j))
end
end
end
Expand Down

0 comments on commit a6557e2

Please sign in to comment.