From c571b70f2d707b88f4faa2c16757a648a93b979c Mon Sep 17 00:00:00 2001 From: pmosk Date: Fri, 20 Sep 2024 00:05:22 +0300 Subject: [PATCH] Use constructor instead implicit operator --- .../Functional/{Function.Chunk.cs => Functional.Chunk.cs} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename src/flatcollections-array/FlatArray/FlatArray.T/Functional/{Function.Chunk.cs => Functional.Chunk.cs} (91%) diff --git a/src/flatcollections-array/FlatArray/FlatArray.T/Functional/Function.Chunk.cs b/src/flatcollections-array/FlatArray/FlatArray.T/Functional/Functional.Chunk.cs similarity index 91% rename from src/flatcollections-array/FlatArray/FlatArray.T/Functional/Function.Chunk.cs rename to src/flatcollections-array/FlatArray/FlatArray.T/Functional/Functional.Chunk.cs index 01888ad..2e2a0c2 100644 --- a/src/flatcollections-array/FlatArray/FlatArray.T/Functional/Function.Chunk.cs +++ b/src/flatcollections-array/FlatArray/FlatArray.T/Functional/Functional.Chunk.cs @@ -35,6 +35,6 @@ public FlatArray> Chunk(int size) chunks[i] = new(chunkLength, chunkItems); } - return chunks; + return new(chunksLength, chunks); } } \ No newline at end of file