Skip to content

Commit

Permalink
Update include/RAJA/util/View.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Burmark <[email protected]>
  • Loading branch information
artv3 and MrBurmark authored Dec 26, 2024
1 parent a691f40 commit cf3ff8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/RAJA/util/View.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ constexpr auto get_last_index(T last)
return last;
}

template <typename T, typename... Args>
constexpr auto get_last_index(T, Args... args)
template <typename T0, typename T1, typename... Args>
constexpr auto get_last_index(T0, T1, Args... args)
{
return get_last_index(args...);
}
Expand Down

0 comments on commit cf3ff8c

Please sign in to comment.