ref: e6b2a0c83c5a053ead70179e75c0c41aa678b4e7
parent: 66760af58d912ee2f57b80a6de42fc04f14c40ea
author: Paul Brossier <piem@piem.org>
date: Wed Oct 7 23:11:30 EDT 2009
tests/python/src/spectral/fft.py: remove abs, test passes in double precision
--- a/tests/python/src/spectral/fft.py
+++ b/tests/python/src/spectral/fft.py
@@ -92,7 +92,7 @@
self.assertCloseEnough((buf_size-1)*some_constant, cvec_read_norm(fftgrain, 0, 0))
for index in range(1,buf_size/2+1):
- self.assertCloseEnough(some_constant, abs(cvec_read_norm(fftgrain, 0, index)))
+ self.assertCloseEnough(some_constant, cvec_read_norm(fftgrain, 0, index))
self.assertCloseEnough(0., cvec_read_norm(fftgrain, 0, buf_size/2+1))
del fftgrain