Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nliber committed Jun 12, 2024
1 parent 1603cc0 commit 9670a4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/src/Kokkos_Complex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,24 +301,24 @@ class

template <size_t I>
KOKKOS_FUNCTION friend constexpr RealType& get(complex& z) noexcept {
return get_ref<I>(z);
return complex::get_ref<I>(z);
}

template <size_t I>
KOKKOS_FUNCTION friend constexpr RealType&& get(complex&& z) noexcept {
return get_ref<I>(std::move(z));
return complex::get_ref<I>(std::move(z));
}

template <size_t I>
KOKKOS_FUNCTION friend constexpr const RealType& get(
const complex& z) noexcept {
return get_ref<I>(z);
return complex::get_ref<I>(z);
}

template <size_t I>
KOKKOS_FUNCTION friend constexpr const RealType&& get(
const complex&& z) noexcept {
return get_ref<I>(std::move(z));
return complex::get_ref<I>(std::move(z));
}

#ifdef KOKKOS_ENABLE_DEPRECATED_CODE_4
Expand Down

0 comments on commit 9670a4c

Please sign in to comment.