Skip to content

Commit

Permalink
fix a typo: res->resold
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz authored Oct 9, 2023
1 parent bc20144 commit 83f2aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/lib/src/tabulate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ void deepmd::tabulate_fusion_se_a_grad_cpu(FPTYPE* dy_dem_x,
// fill from jj to nnei
for (int jj2 = jj; jj2 < nnei; jj2++) {
dy_dtwo[ii * nnei * last_layer_size + jj2 * last_layer_size +
kk] += res * dotllrr;
kk] += resold * dotllrr;
}
}
} else {
Expand Down

0 comments on commit 83f2aa7

Please sign in to comment.