From 5f10d62f035d792fa77840461318d2c95602000b Mon Sep 17 00:00:00 2001 From: Alfredo Correa Date: Sun, 5 Jan 2025 21:00:41 +0000 Subject: [PATCH] simplify conditional --- include/boost/multi/array_ref.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/multi/array_ref.hpp b/include/boost/multi/array_ref.hpp index 14d8b6ea..1821f3be 100644 --- a/include/boost/multi/array_ref.hpp +++ b/include/boost/multi/array_ref.hpp @@ -3295,8 +3295,8 @@ class array_ref : public subarray< typename std::conditional< (D == 1), // continuous_layout<1, typename std::pointer_traits::difference_type>, - typename layout_t::difference_type>, - typename layout_t::difference_type> + layout_t, + layout_t >::type >;