From 1a288198bec2ca10c47cf87d61b64f35add3069d Mon Sep 17 00:00:00 2001 From: Alfredo Correa Date: Wed, 5 Oct 2022 03:00:52 -0400 Subject: [PATCH] be more explicit in return type of at_aux, for intel 19 --- external_codes/boost_multi/multi/include/multi/array_ref.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external_codes/boost_multi/multi/include/multi/array_ref.hpp b/external_codes/boost_multi/multi/include/multi/array_ref.hpp index 80e88f602..eb87e25ee 100644 --- a/external_codes/boost_multi/multi/include/multi/array_ref.hpp +++ b/external_codes/boost_multi/multi/include/multi/array_ref.hpp @@ -824,7 +824,7 @@ struct basic_array using typename types::const_reference; private: - HD constexpr auto at_aux(index idx) const { // MULTI_ACCESS_ASSERT(this->extension().contains(i)&&"out of bounds"); + HD constexpr auto at_aux(index idx) const -> reference { // MULTI_ACCESS_ASSERT(this->extension().contains(i)&&"out of bounds"); return reference{ this->layout().sub(), this->base() + (idx*this->layout().stride() - this->layout().offset())