Skip to content

Commit

Permalink
Fix break wrong indent
Browse files Browse the repository at this point in the history
  • Loading branch information
bastonero committed Jun 6, 2023
1 parent 9db7ced commit 63e018d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aiida_quantumespresso_hp/workflows/hubbard.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ def check_convergence(self):
self.ctx.current_hubbard_structure = result['hubbard_structure']
if self.ctx.current_magnetic_moments is not None:
self.ctx.current_magnetic_moments = result['starting_magnetization']
break
break

if not len(ref_params) == len(new_params):
self.report('The new and old Hubbard parameters have different lenghts. Assuming to be at the first cycle.')
Expand Down

0 comments on commit 63e018d

Please sign in to comment.