Skip to content

Commit

Permalink
auto difference type
Browse files Browse the repository at this point in the history
  • Loading branch information
JSchoeberl committed Dec 18, 2024
1 parent 8f73a00 commit 975414c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsrc/core/array.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 975414c

Please sign in to comment.