wrong operation type returned by map operator

This commit is contained in:
Christian Zimmermann 2018-08-18 16:40:20 +02:00
parent 6597ac6cb0
commit 3abdf61c33

View file

@ -215,7 +215,7 @@ namespace MultiArrayTools
{
static_assert(sizeof...(SRanges) == sizeof...(MappedRanges),
"number of mapped ranges must be equal to number of original ranges");
return (*this)(MapResult(inds)...);
return (*this)(MapResult(inds)...); // NO !!!!!
}
template <typename T, class... SRanges>