no use for grouping in cx_fft and cx_ifft

This commit is contained in:
dwarning 2024-02-16 13:56:43 +01:00
parent 3201bcb09b
commit adaa3d39fc
1 changed files with 2 additions and 4 deletions

View File

@ -584,8 +584,7 @@ cx_fft(void *data, short int type, int length, int *newlength, short int *newtyp
double *datax = NULL; double *datax = NULL;
#endif #endif
if (grouping == 0) NG_IGNORE(grouping);
grouping = length;
/* First do some sanity checks. */ /* First do some sanity checks. */
if (!pl || !pl->pl_scale || !newpl || !newpl->pl_scale) { 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; double scale;
#endif #endif
if (grouping == 0) NG_IGNORE(grouping);
grouping = length;
/* First do some sanity checks. */ /* First do some sanity checks. */
if (!pl || !pl->pl_scale || !newpl || !newpl->pl_scale) { if (!pl || !pl->pl_scale || !newpl || !newpl->pl_scale) {