mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
auto difference type
This commit is contained in:
parent
8f73a00d2d
commit
975414c2fe
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user