From 83f2aa7e2f006b46fab65f07a2220c9987d4f82b Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Mon, 9 Oct 2023 19:52:23 -0400 Subject: [PATCH] fix a typo: res->resold --- source/lib/src/tabulate.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/src/tabulate.cc b/source/lib/src/tabulate.cc index 6c2068b262..eb96d044e4 100644 --- a/source/lib/src/tabulate.cc +++ b/source/lib/src/tabulate.cc @@ -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 {