auto difference type

This commit is contained in:
Joachim Schoeberl 2024-12-18 08:18:40 +01:00
parent 8f73a00d2d
commit 975414c2fe

View File

@ -296,7 +296,7 @@ namespace ngcore
NETGEN_INLINE T_Range Split (size_t nr, int tot) const
{
T diff = next-first;
auto diff = next-first;
return T_Range (first + nr * diff / tot,
first + (nr+1) * diff / tot);
}