Skip to content

Commit 92a9f70

Browse files
lkdvosmtfishman
andcommitted
Apply code suggestion
Co-authored-by: Matt Fishman <[email protected]>
1 parent 73cbcfc commit 92a9f70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/factorizations/svd.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ true
200200
svd(A; kwargs...) =
201201
SVD(svd!(eigencopy_oftype(A, LinearAlgebra.eigtype(eltype(A))); kwargs...))
202202

203-
LinearAlgebra.svdvals(usv::SVD{<:Any,T}) where {T} = (usv.S)::Vector{T}
203+
LinearAlgebra.svdvals(usv::SVD{<:Any,T}) where {T} = (usv.S)::AbstractVector{T}
204204

205205
# Added here to avoid type-piracy
206206
eigencopy_oftype(A, S) = LinearAlgebra.eigencopy_oftype(A, S)

0 commit comments

Comments
 (0)