Skip to content

Commit 975414c

Browse files
committed
auto difference type
1 parent 8f73a00 commit 975414c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsrc/core/array.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ namespace ngcore
296296

297297
NETGEN_INLINE T_Range Split (size_t nr, int tot) const
298298
{
299-
T diff = next-first;
299+
auto diff = next-first;
300300
return T_Range (first + nr * diff / tot,
301301
first + (nr+1) * diff / tot);
302302
}

0 commit comments

Comments
 (0)