Skip to content

Commit

Permalink
move test to testing for integer
Browse files Browse the repository at this point in the history
  • Loading branch information
sudarshanv01 committed Apr 22, 2024
1 parent abbd3b3 commit 020031e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/py4vasp/calculation/_OSZICAR.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@ def to_graph(self, selection="E"):
@_base.data_access
def is_converged(self):
is_elmin_converged = self._raw_data.is_elmin_converged[self._steps]
return is_elmin_converged == 0.0
return is_elmin_converged == 0
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ def _example_OSZICAR():
)
convergence_data = raw.VaspData(convergence_data)
label = raw.VaspData([b"N", b"E", b"dE", b"deps", b"ncg", b"rms", b"rms(c)"])
is_elmin_converged = [0.0]
is_elmin_converged = [0]
return raw.OSZICAR(
convergence_data=convergence_data,
label=label,
Expand Down

0 comments on commit 020031e

Please sign in to comment.