diff --git a/src/postprocess/band_structure.jl b/src/postprocess/band_structure.jl index 4903477907..68e637775e 100644 --- a/src/postprocess/band_structure.jl +++ b/src/postprocess/band_structure.jl @@ -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