Skip to content

Commit

Permalink
Skip 1.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinfriede committed Sep 19, 2024
1 parent 294c333 commit 0cf992c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/tad_dftd3/data/radii.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def _load_vdw_rad_d3(
VDW radii.
"""
kwargs: dict = {"map_location": device}
if __tversion__ > (1, 12):
if __tversion__ > (1, 12, 1):
kwargs["weights_only"] = True

path = op.join(op.dirname(__file__), "vdw-d3.pt")
Expand Down
2 changes: 1 addition & 1 deletion src/tad_dftd3/reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def _load_c6(
Reference C6 coefficients.
"""
kwargs: dict = {"map_location": device}
if __tversion__ > (1, 12):
if __tversion__ > (1, 12, 1):
kwargs["weights_only"] = True

path = op.join(op.dirname(__file__), "reference-c6.pt")
Expand Down

0 comments on commit 0cf992c

Please sign in to comment.