diff options
-rw-r--r-- | src/ffts_real.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ffts_real.c b/src/ffts_real.c index 9d5bf84..bdb6eac 100644 --- a/src/ffts_real.c +++ b/src/ffts_real.c @@ -197,7 +197,7 @@ ffts_plan_t *ffts_init_1d_real(size_t N, int sign) { p->plans[0] = ffts_init_1d(N/2, sign); - p->buf = valloc(sizeof(float) * 2 * (N/2) + 1); + p->buf = valloc(sizeof(float) * 2 * ((N/2) + 1)); p->A = valloc(sizeof(float) * N); p->B = valloc(sizeof(float) * N); |