aboutsummaryrefslogtreecommitdiff
path: root/sketch.go
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2021-09-01 19:07:35 +0200
committern-peugnet <n.peugnet@free.fr>2021-09-01 19:07:35 +0200
commitdb40818ef79ccb3f5f9232623f57ad284a4af7d0 (patch)
tree6b1b1a7b6169eb19f6ca17ff87f1075b41bd513f /sketch.go
parent34a84a44b4dfa513d8ceb1cfeec50ac78fb311e0 (diff)
downloaddna-backup-db40818ef79ccb3f5f9232623f57ad284a4af7d0.tar.gz
dna-backup-db40818ef79ccb3f5f9232623f57ad284a4af7d0.zip
move some consts into repo
Diffstat (limited to 'sketch.go')
-rw-r--r--sketch.go2
1 files changed, 1 insertions, 1 deletions
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)