Skip to content

Commit a1462d3

Browse files
authored
Fix docs (#105)
1 parent 270cf31 commit a1462d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ you can simply use the `fit!` function to update the reservoir:
2929
```julia
3030
julia> using StreamSampling
3131

32-
julia> rs = ReservoirSample(Int, 5);
32+
julia> rs = ReservoirSample{Int}(5);
3333

3434
julia> for x in 1:100
3535
fit!(rs, x)

0 commit comments

Comments
 (0)