Skip to content

Commit b6b073e

Browse files
committed
Fix some comments
Signed-off-by: Christian Trott <crtrott@sandia.gov>
1 parent 309f700 commit b6b073e

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

include/experimental/__p2630_bits/submdspan_canonicalize_slices.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@ constexpr auto canonical_slice([[maybe_unused]] Slice s)
300300
auto offset = canonical_index<IndexType>(s.offset);
301301
auto extent = canonical_index<IndexType>(s.extent);
302302
auto stride = canonical_index<IndexType>(s.stride);
303-
// TODO: Later introduce canonical-range-slice
304303
return strided_slice<decltype(offset), decltype(extent), decltype(stride)>{
305304
/* .offset = */ offset,
306305
/* .extent = */ extent,
@@ -317,7 +316,6 @@ constexpr auto canonical_slice([[maybe_unused]] Slice s)
317316
auto offset = canonical_index<IndexType>(s_k0);
318317
auto extent = subtract_ice<IndexType>(s_k0, s_k1);
319318
auto stride = cw<IndexType(1)>;
320-
// TODO: Later introduce canonical-range-slice
321319
return strided_slice<decltype(offset), decltype(extent), decltype(stride)>{
322320
/* .offset = */ offset,
323321
/* .extent = */ extent,
@@ -360,7 +358,7 @@ constexpr auto canonical_slices_impl(
360358
} // namespace detail
361359

362360
// ============================================================
363-
// submdspan_canonicalize_slices: public API
361+
// canonicalize_slices: public API
364362
//
365363
// Given an extents object and a pack of slice specifiers,
366364
// returns a detail::tuple of canonical slice specifiers.

0 commit comments

Comments
 (0)