NETGEN_INLINE for Range::Split

This commit is contained in:
Matthias Hochsteger 2023-02-21 18:47:33 +01:00
parent 7f172344e8
commit a0b9dca246

View File

@ -294,7 +294,7 @@ namespace ngcore
NETGEN_INLINE ArrayRangeIterator<T> begin() const { return first; } NETGEN_INLINE ArrayRangeIterator<T> begin() const { return first; }
NETGEN_INLINE ArrayRangeIterator<T> end() const { return next; } NETGEN_INLINE ArrayRangeIterator<T> 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; T diff = next-first;
return T_Range (first + nr * diff / tot, return T_Range (first + nr * diff / tot,