From d3cc117f0675bcb089a14a744c5f80223a510b77 Mon Sep 17 00:00:00 2001 From: Romeo Valentin Date: Fri, 3 Nov 2023 02:56:34 -0700 Subject: [PATCH] Remove @warn, instead print when debug is true. --- src/svd.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/svd.jl b/src/svd.jl index 3544dc9..44abcd7 100644 --- a/src/svd.jl +++ b/src/svd.jl @@ -54,7 +54,7 @@ function _biLanczosIterations!(A, stepsize, αs, βs, U, V, μs, νs, maxνs, ma α = norm(v) if α < τ * maximum(size(A)) * eps() # orthogonalization failed, see https://github.com/poulson/PROPACK/blob/2465f89d5b1fba56de71c3e69e27d017c3dc2295/double/dlanbpro.F#L384 - @warn "Restart orthogonalization" + debug && println("Restart orthogonalization") b = V[1:(j-1)] B = KrylovKit.OrthonormalBasis(b ./ norm.(b)) for _ in 1:3