Skip to content

Commit cad69ad

Browse files
committed
Use copymutable_oftype
1 parent 8a493c9 commit cad69ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bunchkaufman.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ function bunchkaufman!(A::StridedMatrix{<:BlasFloat}, rook::Bool = false; check:
128128
end
129129

130130
bkcopy_oftype(A, S) = eigencopy_oftype(A, S)
131-
bkcopy_oftype(A::Symmetric{<:Complex}, S) = copyto!(similar(A, S), A)
131+
bkcopy_oftype(A::Symmetric{<:Complex}, S) = copymutable_oftype(A, S)
132132

133133
"""
134134
bunchkaufman(A, rook::Bool=false; check = true) -> S::BunchKaufman

0 commit comments

Comments
 (0)