mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Fixed a compile time error that could happen when calling fft()
for certain input types.
This commit is contained in:
parent
50388bb5b3
commit
e9ad33515f
@ -40,7 +40,7 @@ namespace dlib
|
||||
typename EXP::matrix_type& outdata
|
||||
)
|
||||
{
|
||||
outdata.set_size(data.size());
|
||||
outdata.set_size(data.nr(), data.nc());
|
||||
if (data.size() == 0)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user