We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c3a925 commit d471345Copy full SHA for d471345
pymatgen/io/vasp/outputs.py
@@ -619,7 +619,7 @@ def converged_ionic(self) -> bool:
619
ibrion = self.parameters.get("IBRION", -1 if nsw in (-1, 0) else 0)
620
if ibrion == 0:
621
return nsw <= 1 or self.md_n_steps == nsw
622
- if ibrion in [1,2] and ediffg == 0:
+ if ibrion in [1, 2] and ediffg == 0:
623
return nsw <= 1 or nsw == len(self.ionic_steps)
624
625
return nsw <= 1 or len(self.ionic_steps) < nsw
0 commit comments