Skip to content

Commit 5b264a2

Browse files
author
Andy Ferris
committed
Inline getproperty
1 parent eb046c6 commit 5b264a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/svd.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ struct SVD{T,TU,TS,TVt} <: Factorization{T}
99
end
1010
SVD(U::AbstractArray{T}, S::AbstractVector, Vt::AbstractArray{T}) where {T} = SVD{T,typeof(U),typeof(S),typeof(Vt)}(U, S, Vt)
1111

12-
function Base.getproperty(F::SVD, s::Symbol)
12+
@inline function Base.getproperty(F::SVD, s::Symbol)
1313
if s === :V
1414
return getfield(F, :Vt)'
1515
else

0 commit comments

Comments
 (0)