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 9bc34b1 commit d23397eCopy full SHA for d23397e
docs/src/example.md
@@ -62,7 +62,7 @@ with `julia -t6 --gcthreads=6,1` on my machine
62
63
```julia
64
function psample_large_hdf5_file(filename, rngs, n, alg)
65
- rsv = [ReservoirSampler{DATATYPE}(rngs[i], n, alg) for i in 1:Threads.nthreads()]
+ rsv = [ReservoirSampler{dtype}(rngs[i], n, alg) for i in 1:Threads.nthreads()]
66
h5open(filename, "r") do file
67
dset = file["data"]
68
for c in chunks(1:numchunks; n=ceil(Int, numchunks/Threads.nthreads()))
0 commit comments