From adaa3d39fcb960dc0810877477893fa75b61d5f8 Mon Sep 17 00:00:00 2001 From: dwarning Date: Fri, 16 Feb 2024 13:56:43 +0100 Subject: [PATCH] no use for grouping in cx_fft and cx_ifft --- src/maths/cmaths/cmath4.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/maths/cmaths/cmath4.c b/src/maths/cmaths/cmath4.c index 50d772761..63b03f0a6 100644 --- a/src/maths/cmaths/cmath4.c +++ b/src/maths/cmaths/cmath4.c @@ -584,8 +584,7 @@ cx_fft(void *data, short int type, int length, int *newlength, short int *newtyp double *datax = NULL; #endif - if (grouping == 0) - grouping = length; + NG_IGNORE(grouping); /* First do some sanity checks. */ if (!pl || !pl->pl_scale || !newpl || !newpl->pl_scale) { @@ -847,8 +846,7 @@ cx_ifft(void *data, short int type, int length, int *newlength, short int *newty double scale; #endif - if (grouping == 0) - grouping = length; + NG_IGNORE(grouping); /* First do some sanity checks. */ if (!pl || !pl->pl_scale || !newpl || !newpl->pl_scale) {