Skip to content

Commit

Permalink
simplify conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
correaa committed Jan 5, 2025
1 parent 115ff72 commit 5f10d62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/boost/multi/array_ref.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3295,8 +3295,8 @@ class array_ref : public subarray<
typename std::conditional<
(D == 1),
// continuous_layout<1, typename std::pointer_traits<ElementPtr>::difference_type>,
typename layout_t<D, typename std::pointer_traits<ElementPtr>::difference_type>,
typename layout_t<D, typename std::pointer_traits<ElementPtr>::difference_type>
layout_t<D>,
layout_t<D>
>::type
>;

Expand Down

0 comments on commit 5f10d62

Please sign in to comment.