Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Han Wang committed May 11, 2024
1 parent ffcf47d commit 644addd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepmd/dpmodel/descriptor/dpa2.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def get_rcut(self) -> float:
return self.rcut

def get_rcut_smth(self) -> float:
"""Returns the cut-off radius."""
"""Returns the radius where the neighbor information starts to smoothly decay to 0."""
return self.rcut_smth

Check warning on line 374 in deepmd/dpmodel/descriptor/dpa2.py

View check run for this annotation

Codecov / codecov/patch

deepmd/dpmodel/descriptor/dpa2.py#L374

Added line #L374 was not covered by tests

def get_nsel(self) -> int:
Expand Down

0 comments on commit 644addd

Please sign in to comment.