diff --git a/libsrc/core/array.hpp b/libsrc/core/array.hpp index 90018182..9e57d174 100644 --- a/libsrc/core/array.hpp +++ b/libsrc/core/array.hpp @@ -294,7 +294,7 @@ namespace ngcore NETGEN_INLINE ArrayRangeIterator begin() const { return first; } NETGEN_INLINE ArrayRangeIterator end() const { return next; } - T_Range Split (size_t nr, int tot) const + NETGEN_INLINE T_Range Split (size_t nr, int tot) const { T diff = next-first; return T_Range (first + nr * diff / tot,