From f84ca72793434d89e5590d4c4f020d19377d5cd4 Mon Sep 17 00:00:00 2001 From: Ben Ryan Date: Tue, 24 Sep 2024 10:03:09 -0600 Subject: [PATCH] naming --- tst/unit/test_kokkos_abstraction.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tst/unit/test_kokkos_abstraction.cpp b/tst/unit/test_kokkos_abstraction.cpp index b2b0c115c7d1..767e40f38315 100644 --- a/tst/unit/test_kokkos_abstraction.cpp +++ b/tst/unit/test_kokkos_abstraction.cpp @@ -33,7 +33,7 @@ using parthenon::ParArray1D; using parthenon::ParArray2D; using parthenon::ParArray3D; using parthenon::ParArray4D; -using parthenon::robust::soft_equiv; +using parthenon::robust::SoftEquiv; using Real = double; template @@ -326,7 +326,7 @@ bool test_wrapper_nested_3d(OuterLoopPattern outer_loop_pattern, for (int i = 1; i < N - 1; i++) { const Real analytic = 2.0 * (i + 1) * pow((j + 2) * (k + 3), 2.0); - if (!soft_equiv(host_du(k, j, i - 1), analytic, rel_tol)) { + if (!SoftEquiv(host_du(k, j, i - 1), analytic, rel_tol)) { return false; } } @@ -396,7 +396,7 @@ bool test_wrapper_nested_4d(OuterLoopPattern outer_loop_pattern, for (int i = 1; i < N - 1; i++) { const Real analytic = 2.0 * (i + 1) * pow((j + 2) * (k + 3) * (n + 4), 2.0); - if (!soft_equiv(host_du(n, k, j, i - 1), analytic, rel_tol)) { + if (!SoftEquiv(host_du(n, k, j, i - 1), analytic, rel_tol)) { return false; } }