Skip to content

Commit ca3e616

Browse files
committed
Fix slicing operator
1 parent 0c112d9 commit ca3e616

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
@@ -274,7 +274,7 @@ class ChunkSpan : public ChunkCommon<ElementType, SupportType, LayoutStridedPoli
274274
slicer<to_type_seq_t<SupportType>> const slicer;
275275
auto subview = slicer(
276276
this->allocation_mdspan(),
277-
ddc::DiscreteDomain<QueryDDims...>(this->m_domain).distance_from_front(slice_spec));
277+
ddc::select<QueryDDims...>(this->m_domain).distance_from_front(slice_spec));
278278
using layout_type = typename decltype(subview)::layout_type;
279279
using extents_type = typename decltype(subview)::extents_type;
280280
using detail::TypeSeq;

0 commit comments

Comments
 (0)