diff options
Diffstat (limited to 'tests/dft-test.c')
-rw-r--r-- | tests/dft-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dft-test.c b/tests/dft-test.c index fab680b..9532f2f 100644 --- a/tests/dft-test.c +++ b/tests/dft-test.c @@ -58,8 +58,8 @@ void test1d(int nfft,int isinverse) int k; for (k=0;k<nfft;++k) { - in[k].r = (rand() % 65536) - 32768; - in[k].i = (rand() % 65536) - 32768; + in[k].r = (rand() % 32767) - 16384; + in[k].i = (rand() % 32767) - 16384; } #ifdef DOUBLE_PRECISION |