Skip to content

Commit

Permalink
should use sw_rmax
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz authored May 18, 2024
1 parent 8b5b68a commit ee23ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepmd/tf/model/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def __init__(
self.data_stat_protect = data_stat_protect
self.srtab_name = use_srtab
if self.srtab_name is not None:
self.srtab = PairTab(self.srtab_name, rcut=self.get_rcut())
self.srtab = PairTab(self.srtab_name, rcut=sw_rmax)
self.smin_alpha = smin_alpha
self.sw_rmin = sw_rmin
self.sw_rmax = sw_rmax
Expand Down

0 comments on commit ee23ea9

Please sign in to comment.