From 2cfcb155930f64c5bf84a054a8b427a72c42ab61 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Mon, 9 Oct 2023 18:30:45 -0400 Subject: [PATCH] FPTYPE -> double --- source/lib/tests/test_tabulate_se_a.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/tests/test_tabulate_se_a.cc b/source/lib/tests/test_tabulate_se_a.cc index b272740584..655897c29b 100644 --- a/source/lib/tests/test_tabulate_se_a.cc +++ b/source/lib/tests/test_tabulate_se_a.cc @@ -726,7 +726,7 @@ TEST_F(TestTabulateSeA, tabulate_fusion_se_a_grad_cpu) { std::vector dy_dem_x(em_x.size()); std::vector dy_dem(em.size()); std::vector dy(nloc * nnei * last_layer_size, 1.0); - FPTYPE *dy_dtwo = nullptr; + double *dy_dtwo = nullptr; deepmd::tabulate_fusion_se_a_grad_cpu( &dy_dem_x[0], &dy_dem[0], dy_dtwo, table[0], &info[0], &em_x[0], &em[0], nullptr, &dy[0], nloc, nnei, last_layer_size);