Skip to content

Commit

Permalink
Update deepmd/jax/jax2tf/tfmodel.py
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz authored Nov 3, 2024
1 parent 5a7fc4a commit 980b4a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepmd/jax/jax2tf/tfmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def get_min_nbor_dist(self) -> Optional[float]:

def get_nnei(self) -> int:
"""Returns the total number of selected neighboring atoms in the cut-off radius."""
return self.nsel
return self.get_nsel()

def get_sel(self) -> list[int]:
return self.sel
Expand Down

0 comments on commit 980b4a9

Please sign in to comment.