Skip to content

Commit

Permalink
forgotten in merge
Browse files Browse the repository at this point in the history
  • Loading branch information
blegouix committed Oct 12, 2023
1 parent 22879f7 commit 84e1406
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion include/ddc/chunk_span.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ class ChunkSpan<ElementType, DiscreteDomain<DDims...>, LayoutStridedPolicy, Memo
* @return const-reference to this element
*/
template <class... ODDims>
KOKKOS_FUNCTION constexpr reference operator()(DiscreteElement<ODDims...> const& delems) const noexcept
KOKKOS_FUNCTION constexpr reference operator()(
DiscreteElement<ODDims...> const& delems) const noexcept
{
static_assert(sizeof...(ODDims) == sizeof...(DDims), "Invalid number of dimensions");
assert(((select<ODDims>(delems) >= front<ODDims>(this->m_domain)) && ...));
Expand Down
3 changes: 2 additions & 1 deletion include/ddc/discrete_element.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ class DiscreteElement
KOKKOS_DEFAULTED_FUNCTION constexpr DiscreteElement(DiscreteElement&&) = default;

template <class... OTags>
explicit KOKKOS_FUNCTION constexpr DiscreteElement(DiscreteElement<OTags...> const& other) noexcept
explicit KOKKOS_FUNCTION constexpr DiscreteElement(
DiscreteElement<OTags...> const& other) noexcept
: m_values {other.template uid<Tags>()...}
{
}
Expand Down

0 comments on commit 84e1406

Please sign in to comment.