From db40818ef79ccb3f5f9232623f57ad284a4af7d0 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Wed, 1 Sep 2021 19:07:35 +0200 Subject: move some consts into repo --- sketch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sketch.go') diff --git a/sketch.go b/sketch.go index c88f043..295a11b 100644 --- a/sketch.go +++ b/sketch.go @@ -15,7 +15,7 @@ const fBytes = 8 // SketchChunk produces a sketch for a chunk based on wSize: the window size, // sfCount: the number of super-features, and fCount: the number of feature // per super-feature -func SketchChunk(chunk Chunk, wSize int, sfCount int, fCount int) (Sketch, error) { +func SketchChunk(chunk Chunk, chunkSize int, wSize int, sfCount int, fCount int) (Sketch, error) { var fSize = FeatureSize(chunkSize, sfCount, fCount) superfeatures := make([]uint64, 0, sfCount) features := make([]uint64, 0, fCount*sfCount) -- cgit v1.2.3