Commit e9ad3351 authored by Davis King's avatar Davis King

Fixed a compile time error that could happen when calling fft()

for certain input types.
parent 50388bb5
......@@ -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;
......
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