diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-09-06 16:57:47 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-09-06 17:26:30 +0200 |
commit | e2d64a027a72f7db99d98ab9652f3e509b86d344 (patch) | |
tree | f3d23663568bdf52cd4737e31630e4766910f6be /sketch_test.go | |
parent | b31f22ff61b69a0cb3e0a9d7955133b5304f4ff7 (diff) | |
download | dna-backup-e2d64a027a72f7db99d98ab9652f3e509b86d344.tar.gz dna-backup-e2d64a027a72f7db99d98ab9652f3e509b86d344.zip |
generate new Polynomial only once
Diffstat (limited to 'sketch_test.go')
-rw-r--r-- | sketch_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sketch_test.go b/sketch_test.go index d08e2e3..3dce9b5 100644 --- a/sketch_test.go +++ b/sketch_test.go @@ -15,7 +15,7 @@ func TestSketchChunk(t *testing.T) { var i int for c := range chunks { if i < 1 { - sketch, err := SketchChunk(c, 8<<10, 32, 3, 4) + sketch, err := SketchChunk(c, repo.pol, 8<<10, 32, 3, 4) if err != nil { t.Error(err) } @@ -25,7 +25,7 @@ func TestSketchChunk(t *testing.T) { } } if i == 14 { - sketch, err := SketchChunk(c, 8<<10, 32, 3, 4) + sketch, err := SketchChunk(c, repo.pol, 8<<10, 32, 3, 4) if err != nil { t.Error(err) } |