mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
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:
parent
ad06471a15
commit
6dfba4970d
@ -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);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user