Skip to content

Commit

Permalink
fix: Fixed monomial degree on benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
sp301415 committed Jun 13, 2024
1 parent e556a61 commit fe68729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion math/poly/poly_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func BenchmarkFourierTransform(b *testing.B) {
}
})

x := rand.Int() % (2 * N)
x := N / 3
b.Run(fmt.Sprintf("MonomialToFourierPoly/%v", N), func(b *testing.B) {
for i := 0; i < b.N; i++ {
fft.MonomialToFourierPolyAssign(x, fp)
Expand Down

0 comments on commit fe68729

Please sign in to comment.