Skip to content

Commit

Permalink
idx_abs_max: renamed
Browse files Browse the repository at this point in the history
Rename vector_idx_abs_max to close kokkos#72 and kokkos#61.
  • Loading branch information
amklinv-nnl committed Jun 15, 2021
1 parent dbd08c5 commit d2ff6be
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ template<class ElementType,
extents<>::size_type ext0,
class Layout,
class Accessor>
extents<>::size_type vector_idx_abs_max(
extents<>::size_type idx_abs_max(
std::experimental::mdspan<ElementType, std::experimental::extents<ext0>, Layout, Accessor> v)
{
using std::abs;
Expand All @@ -78,11 +78,11 @@ template<class ExecutionPolicy,
extents<>::size_type ext0,
class Layout,
class Accessor>
extents<>::size_type vector_idx_abs_max(
extents<>::size_type idx_abs_max(
ExecutionPolicy&& /* exec */,
std::experimental::mdspan<ElementType, std::experimental::extents<ext0>, Layout, Accessor> v)
{
return vector_idx_abs_max(v);
return idx_abs_max(v);
}

} // end namespace linalg
Expand Down

0 comments on commit d2ff6be

Please sign in to comment.