Skip to content

Commit a2b7e9a

Browse files
committed
remove unnecessary overloads
1 parent fb60fe3 commit a2b7e9a

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

src/interface/orthnull.jl

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -394,34 +394,18 @@ function select_algorithm(::typeof(right_null!), A, ::Val{:svd}; trunc = nothing
394394
return RightNullViaSVD(alg)
395395
end
396396

397-
default_algorithm(::typeof(left_orth!), A::TA; trunc = nothing, kwargs...) where {TA} =
398-
isnothing(trunc) ? select_algorithm(left_orth!, A, Val(:qr); kwargs...) :
399-
select_algorithm(left_orth!, A, Val(:svd); trunc, kwargs...)
400-
# disambiguate
401397
default_algorithm(::typeof(left_orth!), ::Type{A}; trunc = nothing, kwargs...) where {A} =
402398
isnothing(trunc) ? select_algorithm(left_orth!, A, Val(:qr); kwargs...) :
403399
select_algorithm(left_orth!, A, Val(:svd); trunc, kwargs...)
404400

405-
default_algorithm(::typeof(right_orth!), A::TA; trunc = nothing, kwargs...) where {TA} =
406-
isnothing(trunc) ? select_algorithm(right_orth!, A, Val(:lq); kwargs...) :
407-
select_algorithm(right_orth!, A, Val(:svd); trunc, kwargs...)
408-
# disambiguate
409401
default_algorithm(::typeof(right_orth!), ::Type{A}; trunc = nothing, kwargs...) where {A} =
410402
isnothing(trunc) ? select_algorithm(right_orth!, A, Val(:lq); kwargs...) :
411403
select_algorithm(right_orth!, A, Val(:svd); trunc, kwargs...)
412404

413-
default_algorithm(::typeof(left_null!), A::TA; trunc = nothing, kwargs...) where {TA} =
414-
isnothing(trunc) ? select_algorithm(left_null!, A, Val(:qr); kwargs...) :
415-
select_algorithm(left_null!, A, Val(:svd); trunc, kwargs...)
416-
# disambiguate
417405
default_algorithm(::typeof(left_null!), ::Type{A}; trunc = nothing, kwargs...) where {A} =
418406
isnothing(trunc) ? select_algorithm(left_null!, A, Val(:qr); kwargs...) :
419407
select_algorithm(left_null!, A, Val(:svd); trunc, kwargs...)
420408

421-
default_algorithm(::typeof(right_null!), A::TA; trunc = nothing, kwargs...) where {TA} =
422-
isnothing(trunc) ? select_algorithm(right_null!, A, Val(:lq); kwargs...) :
423-
select_algorithm(right_null!, A, Val(:svd); trunc, kwargs...)
424-
# disambiguate
425409
default_algorithm(::typeof(right_null!), ::Type{A}; trunc = nothing, kwargs...) where {A} =
426410
isnothing(trunc) ? select_algorithm(right_null!, A, Val(:lq); kwargs...) :
427411
select_algorithm(right_null!, A, Val(:svd); trunc, kwargs...)

0 commit comments

Comments
 (0)