Skip to content

Commit c66ce05

Browse files
committed
remove possibly redundant code to see if tests fail
`Union{Bidiagonal,AbstractTriangular} \ UniformScaling` seems redundant because there's another method `AbstractMatrix \ UniformScaling`
1 parent 8be120a commit c66ce05

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

stdlib/LinearAlgebra/src/uniformscaling.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,6 @@ end
172172
/(J::UniformScaling, x::Number) = UniformScaling(J.λ/x)
173173

174174
\(J1::UniformScaling, J2::UniformScaling) = J1.λ == 0 ? throw(SingularException(1)) : UniformScaling(J1.λ\J2.λ)
175-
\(A::Union{Bidiagonal{T},AbstractTriangular{T}}, J::UniformScaling) where {T<:Number} =
176-
rmul!(inv(A), J.λ)
177175
\(J::UniformScaling, A::AbstractVecOrMat) = J.λ == 0 ? throw(SingularException(1)) : J.λ\A
178176
\(A::AbstractMatrix, J::UniformScaling) = rmul!(inv(A), J.λ)
179177

0 commit comments

Comments
 (0)