I have an input complex<double>* g (2D-array)
.
In order to fourier transform it I first convert it
in=(fftw_complex*)g;
Where in
is the input for fftw
.
After performing the fft, the code
fftw_free(out);
fftw_free(in);
doesnt work.
I get an "unhandled exception" error.
I'm afraid the problem is with the conversion. any ideas?
Thanks a lot.