Skip to content

Commit ada8598

Browse files
committed
update herk for consistency
1 parent fb95a04 commit ada8598

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/matmul.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -782,8 +782,7 @@ Base.@constprop :aggressive function syrk_wrapper!(C::StridedMatrix{T}, tA::Abst
782782
else
783783
generic_syrk!(C, A, false, tA_uc == 'N', alpha, beta)
784784
end
785-
copytri!(C, 'U')
786-
return C
785+
return copytri!(C, 'U')
787786
end
788787
return gemm_wrapper!(C, tA, tAt, A, A, α, β)
789788
end
@@ -829,10 +828,11 @@ Base.@constprop :aggressive function herk_wrapper!(C::Union{StridedMatrix{T}, St
829828
stride(A, 1) == stride(C, 1) == 1 &&
830829
_fullstride2(A) && _fullstride2(C)) &&
831830
max(nA, mA) 4
832-
return copytri!(BLAS.herk!('U', tA, alpha, A, beta, C), 'U', true)
831+
BLAS.herk!('U', tA, alpha, A, beta, C)
833832
else
834-
return copytri!(generic_syrk!(C, A, true, tA_uc == 'N', alpha, beta), 'U', true)
833+
generic_syrk!(C, A, true, tA_uc == 'N', alpha, beta)
835834
end
835+
return copytri!(C, 'U', true)
836836
end
837837
return gemm_wrapper!(C, tA, tAt, A, A, α, β)
838838
end

0 commit comments

Comments
 (0)