Commit 28a0d860 authored by Davis King's avatar Davis King

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

parent 2b2fed84
...@@ -223,7 +223,7 @@ namespace dlib ...@@ -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 ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment