From bc20144316ed58f7bd9a155c524a65361622e3bc Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Mon, 9 Oct 2023 19:13:14 -0400 Subject: [PATCH] fix --- source/lib/tests/test_tabulate_se_a.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/source/lib/tests/test_tabulate_se_a.cc b/source/lib/tests/test_tabulate_se_a.cc index 266b90458c..e300c437d4 100644 --- a/source/lib/tests/test_tabulate_se_a.cc +++ b/source/lib/tests/test_tabulate_se_a.cc @@ -727,7 +727,6 @@ TEST_F(TestTabulateSeA, tabulate_fusion_se_a_grad_cpu) { std::vector dy_dem(em.size()); std::vector dy(nloc * nnei * last_layer_size, 1.0); std::vector dy_dtwo(nloc * nnei * last_layer_size); - double *dy_dtwo = nullptr; deepmd::tabulate_fusion_se_a_grad_cpu( &dy_dem_x[0], &dy_dem[0], &dy_dtwo[0], &table[0], &info[0], &em_x[0], &em[0], nullptr, &dy[0], nloc, nnei, last_layer_size);