Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
nscolonna committed Jun 19, 2024
1 parent ed3c4d6 commit 2518dba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/koopmans/workflows/_koopmans_dfpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ def __init__(self, scf_kgrid=None, *args, **kwargs):
val = self.parameters.get(f'orbital_groups_{key}_tol', None)
if val is not None:
tols[key] = val
self.bands = Bands(n_bands=[len(f) for f in filling], n_spin=2,
spin_polarized=self.parameters.spin_polarized,
filling=filling, groups=self.parameters.orbital_groups, tolerances=tols)
self.bands = Bands(n_bands=[len(f) for f in filling], n_spin=2,
spin_polarized=self.parameters.spin_polarized,
filling=filling, groups=self.parameters.orbital_groups, tolerances=tols)
else:
nocc = pseudopotentials.nelec_from_pseudos(
self.atoms, self.pseudopotentials, self.parameters.pseudo_directory) // 2
Expand Down

0 comments on commit 2518dba

Please sign in to comment.