From a6557e2df977787de484f783f80bab82fecec3aa Mon Sep 17 00:00:00 2001 From: Jishnu Bhattacharya Date: Mon, 28 Oct 2024 12:01:42 +0530 Subject: [PATCH] Correct MulAddMul in triangular * Diagonal __muldiag_nonzeroalpha! --- stdlib/LinearAlgebra/src/diagonal.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/LinearAlgebra/src/diagonal.jl b/stdlib/LinearAlgebra/src/diagonal.jl index cd4bf9dc55f60..16528e6764531 100644 --- a/stdlib/LinearAlgebra/src/diagonal.jl +++ b/stdlib/LinearAlgebra/src/diagonal.jl @@ -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