Skip to content
Snippets Groups Projects
Commit f2848431 authored by Alexander Rose's avatar Alexander Rose
Browse files

more chunkSize sanitizing

parent 7804176b
No related branches found
No related tags found
No related merge requests found
...@@ -144,7 +144,7 @@ namespace ChunkedArray { ...@@ -144,7 +144,7 @@ namespace ChunkedArray {
ctor, ctor,
elementSize, elementSize,
growBy: Math.floor(chunkSize), growBy: Math.max(1, Math.ceil(chunkSize)),
allocatedSize: 0, allocatedSize: 0,
elementCount: 0, elementCount: 0,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment