diff options
Diffstat (limited to 'sketch.go')
-rw-r--r-- | sketch.go | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -20,10 +20,7 @@ func SketchChunk(chunk Chunk, wSize int, sfCount int, fCount int) (Sketch, error superfeatures := make([]uint64, 0, sfCount) features := make([]uint64, 0, fCount) buff := make([]byte, fBytes*fCount) - r, err := chunk.Reader() - if err != nil { - return nil, err - } + r := chunk.Reader() hasher := rabinkarp64.New() for sf := 0; sf < sfCount; sf++ { features = features[:0] |