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

for certain input types.
This commit is contained in:
Davis King 2014-11-06 13:49:43 -05:00
parent 50388bb5b3
commit e9ad33515f

View File

@ -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;