mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Fixed compile time error that triggered when trying to link with fftw
This commit is contained in:
parent
2b2fed842f
commit
28a0d860aa
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user