Skip to content

Commit afcb868

Browse files
author
Han Wang
committed
fix(dpmodel): prefix unused variables with underscore in linear_atomic_model
1 parent 740eb0c commit afcb868

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deepmd/dpmodel/atomic_model/linear_atomic_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def forward_atomic(
248248
the result dict, defined by the fitting net output def.
249249
"""
250250
xp = array_api_compat.array_namespace(extended_coord, extended_atype, nlist)
251-
nframes, nloc, nnei = nlist.shape
251+
nframes, _nloc, _nnei = nlist.shape
252252
extended_coord = xp.reshape(extended_coord, (nframes, -1, 3))
253253
sorted_rcuts, sorted_sels = self._sort_rcuts_sels()
254254
nlists = build_multiple_neighbor_list(

0 commit comments

Comments
 (0)