Skip to content

Commit a14f93c

Browse files
committed
Avoid mixing ADL and RebindDomain
1 parent efde399 commit a14f93c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/ddc/chunk_span.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,9 @@ class ChunkSpan : public ChunkCommon<ElementType, SupportType, LayoutStridedPoli
270270
KOKKOS_FUNCTION constexpr auto operator[](
271271
DiscreteElement<QueryDDims...> const& slice_spec) const
272272
{
273-
assert(select<QueryDDims...>(this->m_domain).contains(slice_spec));
274273
using detail::TypeSeq;
275274
using QueryDDom = typename detail::RebindDomain<SupportType, TypeSeq<QueryDDims...>>::type;
275+
assert(QueryDDom(this->m_domain).contains(slice_spec));
276276
slicer<to_type_seq_t<SupportType>> const slicer;
277277
auto subview = slicer(
278278
this->allocation_mdspan(),

0 commit comments

Comments
 (0)