Skip to content

Commit

Permalink
naming
Browse files Browse the repository at this point in the history
  • Loading branch information
brryan committed Sep 24, 2024
1 parent aec04ad commit f84ca72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tst/unit/test_kokkos_abstraction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <class T>
Expand Down Expand Up @@ -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;
}
}
Expand Down Expand Up @@ -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;
}
}
Expand Down

0 comments on commit f84ca72

Please sign in to comment.