Recent changes to 86: Doing a FFT on a vector with just one entry crashes gretlhttps://sourceforge.net/p/gretl/bugs/86/Recent changes to 86: Doing a FFT on a vector with just one entry crashes gretlenThu, 15 Jan 2009 18:34:38 -0000Doing a FFT on a vector with just one entry crashes gretlhttps://sourceforge.net/p/gretl/bugs/86/The fft function of gretl allows the user to calculate the fourier transformation of a matrix/vector. If the vector consists of just one entry per column, the fft is calculated, too, although in this case the calculation is meaningless.
The problem is that after this calculation gretl is rather unstable. Under Linux you can see glibc complaing about double free pointers. Under Windows gretl sometimes just disappears or crashes with a segmentation fault.
As doing this kind of calculation is meaningless and most of the time an error of the gretl script, gretl should throw an error when it a fft is performed on such a vector.Christoph KleinThu, 15 Jan 2009 18:34:38 -0000https://sourceforge.net75901e20e6fea66231ddfa3d9dc2b659d6ccda4b