Skip to content

Commit

Permalink
use shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
fnrizzi authored and cz4rs committed Sep 27, 2023
1 parent 4f6ddd1 commit b8d4feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/Threads/Kokkos_ThreadsTeam.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ KOKKOS_INLINE_FUNCTION void parallel_scan(
using closure_value_type = typename Kokkos::Impl::FunctorAnalysis<
Kokkos::Impl::FunctorPatternInterface::SCAN, void, FunctorType,
void>::value_type;
static_assert(std::is_same<closure_value_type, ValueType>::value,
static_assert(std::is_same_v<closure_value_type, ValueType>,
"Non-matching value types of closure and return type");

auto scan_val = ValueType{};
Expand Down

0 comments on commit b8d4feb

Please sign in to comment.