Fixed compile time error that triggered when trying to link with fftw

This commit is contained in:
Davis King 2014-02-22 17:31:25 -05:00
parent 2b2fed842f
commit 28a0d860aa

View File

@ -223,7 +223,7 @@ namespace dlib
<< "\n\t data.size(): " << data.size() << "\n\t data.size(): " << data.size()
); );
matrix<std::complex<double>,NR,NC,MM,L> m2(data.size()); matrix<std::complex<double>,NR,NC,MM,L> m2(data.nr(),data.nc());
fftw_complex *in, *out; fftw_complex *in, *out;
fftw_plan p; fftw_plan p;
in = (fftw_complex*)&data(0); in = (fftw_complex*)&data(0);
@ -247,7 +247,7 @@ namespace dlib
<< "\n\t data.size(): " << data.size() << "\n\t data.size(): " << data.size()
); );
matrix<std::complex<double>,NR,NC,MM,L> m2(data.size()); matrix<std::complex<double>,NR,NC,MM,L> m2(data.nr(),data.nc());
fftw_complex *in, *out; fftw_complex *in, *out;
fftw_plan p; fftw_plan p;
in = (fftw_complex*)&data(0); in = (fftw_complex*)&data(0);