Skip to content

Commit f955a45

Browse files
committed
Fix magnitude benchmarks.
1 parent 5f508e5 commit f955a45

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

mag_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ package main
33
import (
44
"crypto/rand"
55

6+
"github.com/bemasher/rtlamr/decode"
7+
68
"testing"
79
)
810

911
func BenchmarkSqrtMag(b *testing.B) {
10-
lut := NewSqrtMagLUT()
12+
lut := decode.NewSqrtMagLUT()
1113
input := make([]byte, 8192)
1214
output := make([]float64, 4096)
1315

@@ -22,7 +24,7 @@ func BenchmarkSqrtMag(b *testing.B) {
2224
}
2325

2426
func BenchmarkAlphaMaxBetaMinMag(b *testing.B) {
25-
lut := NewAlphaMaxBetaMinLUT()
27+
lut := decode.NewAlphaMaxBetaMinLUT()
2628
input := make([]byte, 8192)
2729
output := make([]float64, 4096)
2830

0 commit comments

Comments
 (0)