Commit 5c4dcacd authored by Michael Muré's avatar Michael Muré

fix swaped argument in rabin.go

License: MIT
Signed-off-by: default avatarMichael Muré <batolettre@gmail.com>
parent 95d023a0
......@@ -17,7 +17,7 @@ func NewRabin(r io.Reader, avgBlkSize uint64) *Rabin {
min := avgBlkSize / 3
max := avgBlkSize + (avgBlkSize / 2)
return NewRabinMinMax(r, avgBlkSize, min, max)
return NewRabinMinMax(r, min, avgBlkSize, max)
}
func NewRabinMinMax(r io.Reader, min, avg, max uint64) *Rabin {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment