Skip to content

Commit

Permalink
return type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
Han Wang committed Aug 13, 2024
1 parent 78d6be0 commit 3c3226e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepmd/pt/utils/nlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def _trim_mask_distinguish_nlist(
rcut: float,
sel: List[int],
distinguish_types: bool,
):
) -> torch.Tensor:
"""Trim the size of nlist, mask if any central atom is virtual, distinguish types if necessary."""
nsel = sum(sel)
# nloc x nsel
Expand Down

0 comments on commit 3c3226e

Please sign in to comment.