mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 06:00:33 +05:00
NETGEN_INLINE for Range::Split
This commit is contained in:
parent
7f172344e8
commit
a0b9dca246
@ -294,7 +294,7 @@ namespace ngcore
|
||||
NETGEN_INLINE ArrayRangeIterator<T> begin() const { return first; }
|
||||
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;
|
||||
return T_Range (first + nr * diff / tot,
|
||||
|
Loading…
Reference in New Issue
Block a user