Skip to content

Commit

Permalink
Update mdspan to 98a12b01b51b2
Browse files Browse the repository at this point in the history
  • Loading branch information
crtrott committed Jul 3, 2024
1 parent ba2075b commit dc17506
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tpls/mdspan/include/experimental/__p0009_bits/macros.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ __fold_left_assign_impl(Args&&... args) {


template <class... Args>
constexpr __mdspan_enable_fold_comma __fold_comma_impl(Args&&... args) noexcept { return { }; }
constexpr __mdspan_enable_fold_comma __fold_comma_impl(Args&&...) noexcept { return { }; }

template <bool... Bs>
struct __bools;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ struct deduce_layout_left_submapping<
IndexType, SubRank, std::index_sequence<Idx...>, SliceSpecifiers...> {

using count_range = index_sequence_scan_impl<
0, (is_index_slice_v<SliceSpecifiers, IndexType> ? 0 : 1)...>;
0u, (is_index_slice_v<SliceSpecifiers, IndexType> ? 0u : 1u)...>;

constexpr static int gap_len =
(((Idx > 0 && count_range::get(Idx) == 1 &&
Expand Down Expand Up @@ -361,7 +361,7 @@ struct deduce_layout_right_submapping<

static constexpr size_t Rank = sizeof...(Idx);
using count_range = index_sequence_scan_impl<
0, (std::is_convertible_v<SliceSpecifiers, IndexType> ? 0 : 1)...>;
0u, (std::is_convertible_v<SliceSpecifiers, IndexType> ? 0u : 1u)...>;
//__static_partial_sums<!std::is_convertible_v<SliceSpecifiers,
// IndexType>...>;
constexpr static int gap_len =
Expand Down

0 comments on commit dc17506

Please sign in to comment.