diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-09-01 19:07:35 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-09-01 19:07:35 +0200 |
commit | db40818ef79ccb3f5f9232623f57ad284a4af7d0 (patch) | |
tree | 6b1b1a7b6169eb19f6ca17ff87f1075b41bd513f /sketch.go | |
parent | 34a84a44b4dfa513d8ceb1cfeec50ac78fb311e0 (diff) | |
download | dna-backup-db40818ef79ccb3f5f9232623f57ad284a4af7d0.tar.gz dna-backup-db40818ef79ccb3f5f9232623f57ad284a4af7d0.zip |
move some consts into repo
Diffstat (limited to 'sketch.go')
-rw-r--r-- | sketch.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |