Skip to content

Commit

Permalink
adjusting to pep again
Browse files Browse the repository at this point in the history
  • Loading branch information
Koulb committed Nov 28, 2024
1 parent aee5637 commit 86554a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/koopmans/workflows/_unfold_and_interp.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def _run(self) -> None:
scf_grid = self.kpoints.grid
smth_factor = self.calculator_parameters['ui'].smooth_int_factor
for i in range(len(offset_old)):
offset_new = offset_old[i] + 0.5*(smth_factor[i] - 1) / (smth_factor[i] * scf_grid[i])
offset_new = offset_old[i] + 0.5 * (smth_factor[i] - 1) / (smth_factor[i] * scf_grid[i])

if self.calculator_parameters['ui'].do_smooth_interpolation:
wannier_workflow = WannierizeWorkflow.fromparent(self, scf_kgrid=self.kpoints.grid)
Expand Down

0 comments on commit 86554a2

Please sign in to comment.