Skip to content

Commit

Permalink
Fix duplicate line
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinfriede committed Sep 24, 2024
1 parent 5806c65 commit 44053a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ data/misc

# exclude some sample and reaction files for tests
!test/test_singlepoint/**/coord
!test/test_singlepoint/**/coord
!examples/issues/**/coord
!examples/issues/**/*.xyz

Expand Down
6 changes: 4 additions & 2 deletions examples/issues/123/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import dxtb


def main():
def main() -> int:
dd = {"device": torch.device("cpu"), "dtype": torch.double}
dxtb.timer.cuda_sync = False

Expand All @@ -47,6 +47,8 @@ def main():
print(f" - dxtb (0.1.0): {energy: .12f}")
print(f" - diff : {energy - ref: .12f}")

return 0


if __name__ == "__main__":
main()
raise SystemExit(main())

0 comments on commit 44053a7

Please sign in to comment.