From 0acfb6e171e5dcb2f8bef70ed83c143952b97bba Mon Sep 17 00:00:00 2001 From: Christian Zimmermann Date: Fri, 30 Aug 2019 18:29:07 +0200 Subject: [PATCH] fix regarding last commit --- src/include/ranges/single_range.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/ranges/single_range.h b/src/include/ranges/single_range.h index 2752986..9f0a922 100644 --- a/src/include/ranges/single_range.h +++ b/src/include/ranges/single_range.h @@ -241,7 +241,7 @@ namespace MultiArrayTools { size_t o = 0; for(auto& e: elem){ - o += ToCMeta::apply(target, e); + o += ToCMeta::apply(target+o, e); } return o; }