Skip to content

Commit

Permalink
Merge branch 'features/arrays/pad_zip' of github.com:o1-labs/o1js int…
Browse files Browse the repository at this point in the history
…o features/arrays/pad_zip
  • Loading branch information
querolita committed Nov 27, 2024
2 parents 1eac01e + 02c6d56 commit 2b528e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/util/arrays.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export { chunk, chunkString, zip, pad };
function chunk<T>(array: T[], size: number): T[][] {
assert(
array.length % size === 0,
'chunk(): invalid input length, it must be a multiple of ${size}'
`chunk(): invalid input length, it must be a multiple of ${size}`
);
return Array.from({ length: array.length / size }, (_, i) =>
array.slice(size * i, size * (i + 1))
Expand Down

0 comments on commit 2b528e9

Please sign in to comment.