Skip to content

Commit

Permalink
Remove @warn, instead print when debug is true.
Browse files Browse the repository at this point in the history
  • Loading branch information
RomeoV committed Nov 3, 2023
1 parent e2d474e commit d3cc117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/svd.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d3cc117

Please sign in to comment.