From b07bda8d54da80599588ec65740a140e020023ce Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Thu, 7 Jun 2018 12:27:16 -0700 Subject: [PATCH] Remove Adjoint|Transpose(::UniformScaling) definition They always should add an extra wrapping, instead of eagerly do adjoint/transpose. See #25461 --- stdlib/LinearAlgebra/src/uniformscaling.jl | 2 -- 1 file changed, 2 deletions(-) diff --git a/stdlib/LinearAlgebra/src/uniformscaling.jl b/stdlib/LinearAlgebra/src/uniformscaling.jl index eba57d6541971..d4d732fa0e497 100644 --- a/stdlib/LinearAlgebra/src/uniformscaling.jl +++ b/stdlib/LinearAlgebra/src/uniformscaling.jl @@ -64,9 +64,7 @@ copy(J::UniformScaling) = UniformScaling(J.λ) conj(J::UniformScaling) = UniformScaling(conj(J.λ)) transpose(J::UniformScaling) = J -Transpose(S::UniformScaling) = transpose(S) adjoint(J::UniformScaling) = UniformScaling(conj(J.λ)) -Adjoint(S::UniformScaling) = adjoint(S) one(::Type{UniformScaling{T}}) where {T} = UniformScaling(one(T)) one(J::UniformScaling{T}) where {T} = one(UniformScaling{T})