From 157926ec9390b085c430a63c0205484c744e0666 Mon Sep 17 00:00:00 2001 From: Ali Hamed Moosavian Date: Tue, 19 Nov 2024 21:32:33 +0330 Subject: [PATCH] Update svd.jl documentation QRIteration() is not exported, so I updated the svd.jl documentation section that suggests such a method exists for the `svd` function. Now it says to use `alg = LinearAlgebra.QRIteration()` instead of `alg = QRIteration()` which would produce an error before. --- stdlib/LinearAlgebra/src/svd.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/LinearAlgebra/src/svd.jl b/stdlib/LinearAlgebra/src/svd.jl index 7a88c4a6e14c4..0e4e51ed9e563 100644 --- a/stdlib/LinearAlgebra/src/svd.jl +++ b/stdlib/LinearAlgebra/src/svd.jl @@ -151,7 +151,7 @@ number of singular values. `alg` specifies which algorithm and LAPACK method to use for SVD: - `alg = DivideAndConquer()` (default): Calls `LAPACK.gesdd!`. -- `alg = QRIteration()`: Calls `LAPACK.gesvd!` (typically slower but more accurate) . +- `alg = LinearAlgebra.QRIteration()`: Calls `LAPACK.gesvd!` (typically slower but more accurate) . !!! compat "Julia 1.3" The `alg` keyword argument requires Julia 1.3 or later.