Skip to content

Commit

Permalink
warning uses unexisting variable (#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
epolack authored Sep 12, 2023
1 parent 361b57b commit 5be1b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/postprocess/band_structure.jl
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ end
eigres = diagonalize_all_kblocks(eigensolver, ham, n_bands + 3;
n_conv_check=n_bands, tol, show_progress, kwargs...)
if !eigres.converged
@warn "Eigensolver not converged" n_iter=band_data.n_iter
@warn "Eigensolver not converged" n_iter=eigres.n_iter
end
merge((; basis=bs_basis), select_eigenpairs_all_kblocks(eigres, 1:n_bands))
end
Expand Down

0 comments on commit 5be1b81

Please sign in to comment.