Skip to content

Commit

Permalink
fix rs encode fft settings when numChunks=1
Browse files Browse the repository at this point in the history
  • Loading branch information
dmanc committed Nov 15, 2024
1 parent 9f3a9d6 commit dfe247d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 46 deletions.
3 changes: 0 additions & 3 deletions encoding/rs/encoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ func (e *Encoder) newEncoder(params encoding.EncodingParams) (*ParametrizedEncod

func (e *Encoder) CreateFFTSettings(params encoding.EncodingParams) *fft.FFTSettings {
n := uint8(math.Log2(float64(params.NumEvaluations())))
if params.ChunkLength == 1 {
n = uint8(math.Log2(float64(2 * params.NumChunks)))
}
return fft.NewFFTSettings(n)
}

Expand Down
43 changes: 0 additions & 43 deletions encoding/rs/serialization.go

This file was deleted.

0 comments on commit dfe247d

Please sign in to comment.