Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Han Wang committed Feb 11, 2024
1 parent cb7b96d commit 69425af
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions deepmd/pt/model/model/ener.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ def forward_lower(
extended_atype,
nlist,
mapping: Optional[torch.Tensor] = None,
fparam: Optional[np.ndarray] = None,
aparam: Optional[np.ndarray] = None,
fparam: Optional[torch.Tensor] = None,
aparam: Optional[torch.Tensor] = None,
do_atomic_virial: bool = False,
):
model_ret = self.forward_common_lower(
Expand Down Expand Up @@ -148,6 +148,8 @@ def forward_lower(
extended_atype,
nlist,
mapping: Optional[torch.Tensor] = None,
fparam: Optional[torch.Tensor] = None,
aparam: Optional[torch.Tensor] = None,
do_atomic_virial: bool = False,
):
model_ret = self.forward_common_lower(
Expand Down

0 comments on commit 69425af

Please sign in to comment.