Bug fix for fftr on matrix expression. Clearly nobody is doing FFTs with dlib as this bug has been lingering for a couple years now (#2626)

Co-authored-by: pf <pf@me>
This commit is contained in:
pfeatherstone 2022-07-19 02:50:45 +01:00 committed by GitHub
parent ad06471a15
commit 6dfba4970d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -165,7 +165,7 @@ namespace dlib
//real FFT for expression template
static_assert(std::is_floating_point<typename EXP::type>::value, "input should be real");
matrix<typename EXP::type> in(data);
return fft(in);
return fftr(in);
}
// ----------------------------------------------------------------------------------------