Skip to content

Commit

Permalink
FPTYPE -> double
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz authored Oct 9, 2023
1 parent 63a4aee commit 2cfcb15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/lib/tests/test_tabulate_se_a.cc
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ TEST_F(TestTabulateSeA, tabulate_fusion_se_a_grad_cpu) {
std::vector<double> dy_dem_x(em_x.size());
std::vector<double> dy_dem(em.size());
std::vector<double> dy(nloc * nnei * last_layer_size, 1.0);
FPTYPE *dy_dtwo = nullptr;
double *dy_dtwo = nullptr;
deepmd::tabulate_fusion_se_a_grad_cpu<double>(
&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);
Expand Down

0 comments on commit 2cfcb15

Please sign in to comment.