Skip to content

Commit

Permalink
changed comment to reference R not matlab
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerk committed May 14, 2015
1 parent b42b48f commit 6feab90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/scala/nodes/misc/PaddedFFTSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ class PaddedFFTSuite extends FunSuite with LocalSparkContext with Logging {
logInfo("Then ones")
val onesout = fftd(1)

// Proof by agreement w/ Matlab: Re(fft(c(0, 0, 1, rep(0, 125))))
// Proof by agreement w/ R: Re(fft(c(0, 0, 1, rep(0, 125))))
assert(twosout.length === 64)
assert(Stats.aboutEq(twosout(0), 1.0))
assert(Stats.aboutEq(twosout(16), 0.0))
assert(Stats.aboutEq(twosout(32), -1.0))
assert(Stats.aboutEq(twosout(48), 0.0))

// Proof by agreement w/ Matlab: Re(fft(c(1, rep(0, 127))))
// Proof by agreement w/ R: Re(fft(c(1, rep(0, 127))))
assert(Stats.aboutEq(onesout, DenseVector.ones[Double](64)))
}
}

0 comments on commit 6feab90

Please sign in to comment.