Skip to content

Commit 0ff3ce5

Browse files
authored
Have right_null match left_null's SVD alg behavior (#311)
* Have right_null match left_null's SVD alg behavior `left_null` checks the kwargs for `:svd`, `right_null` currently doesn't, so actually the default algorithm is always used there * Dumb typo
1 parent 4cd5397 commit 0ff3ce5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/interface/orthnull.jl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ end
389389
return RightNullViaLQ(alg)
390390
end
391391
@inline function select_algorithm(::typeof(right_null!), A, ::Val{:svd}; trunc = nothing, kwargs...)
392-
alg_svd = select_algorithm(svd_full!, A; kwargs...)
392+
alg_svd = select_algorithm(svd_full!, A, get(kwargs, :svd, nothing))
393393
alg = TruncatedAlgorithm(alg_svd, select_null_truncation(A, trunc))
394394
return RightNullViaSVD(alg)
395395
end

0 commit comments

Comments
 (0)