Skip to content

Commit 7a7eb60

Browse files
committed
fix ut
1 parent 86ecb63 commit 7a7eb60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deepmd/dpmodel/utils/env_mat_stat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def iter(
166166
self.last_dim,
167167
),
168168
)
169-
atype = xp.reshape(atype, (coord.shape[0] * coord.shape[1]))
169+
atype = xp.reshape(atype, (coord.shape[0] * coord.shape[1],))
170170
# (1, nloc) eq (ntypes, 1), so broadcast is possible
171171
# shape: (ntypes, nloc)
172172
type_idx = xp.equal(

0 commit comments

Comments
 (0)