Skip to content

Commit db4fd6e

Browse files
committed
Call _copyto! instead of copyto_unaliased!
1 parent 0b3fe9e commit db4fd6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/triangular.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Base.dataids(A::UpperOrLowerTriangular) = Base.dataids(A.data)
154154

155155
function Matrix{T}(U::UpperOrLowerTriangular) where {T}
156156
M = Matrix{T}(undef, size(U))
157-
copyto_unaliased!(M, U)
157+
_copyto!(M, U)
158158
return M
159159
end
160160

0 commit comments

Comments
 (0)