Skip to content

Commit

Permalink
Fix magnitude benchmarks.
Browse files Browse the repository at this point in the history
  • Loading branch information
bemasher committed Sep 16, 2014
1 parent 5f508e5 commit f955a45
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ package main
import (
"crypto/rand"

"github.com/bemasher/rtlamr/decode"

"testing"
)

func BenchmarkSqrtMag(b *testing.B) {
lut := NewSqrtMagLUT()
lut := decode.NewSqrtMagLUT()
input := make([]byte, 8192)
output := make([]float64, 4096)

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

func BenchmarkAlphaMaxBetaMinMag(b *testing.B) {
lut := NewAlphaMaxBetaMinLUT()
lut := decode.NewAlphaMaxBetaMinLUT()
input := make([]byte, 8192)
output := make([]float64, 4096)

Expand Down

0 comments on commit f955a45

Please sign in to comment.