We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ec5e6b commit 4ac0e94Copy full SHA for 4ac0e94
src/prelude.jl
@@ -33,7 +33,7 @@ function pickchunksize(input_length, threshold = DEFAULT_CHUNK_THRESHOLD)
33
if input_length <= threshold
34
return input_length
35
else
36
- nchunks = round(Int, input_length / DEFAULT_CHUNK_THRESHOLD, RoundUp)
+ nchunks = round(Int, input_length / threshold, RoundUp)
37
return round(Int, input_length / nchunks, RoundUp)
38
end
39
0 commit comments