Skip to content

Commit 742d475

Browse files
committed
Update repflows.py
1 parent 1722ec1 commit 742d475

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

deepmd/pt/model/descriptor/repflows.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,8 @@ def forward(
642642
h2 = h2[nlist_mask]
643643
# n_edge
644644
sw = sw[nlist_mask]
645+
# n_edge x 4
646+
dmatrix = dmatrix[nlist_mask]
645647

646648
# nb x nloc x a_nnei x a_nnei
647649
a_nlist_mask = a_nlist_mask_3d

0 commit comments

Comments
 (0)