diff --git a/deepmd/tf/model/model.py b/deepmd/tf/model/model.py index caf3be786d..8e04eb729b 100644 --- a/deepmd/tf/model/model.py +++ b/deepmd/tf/model/model.py @@ -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