Commit 45bf1b95 authored by Davis King's avatar Davis King

Minor change to avoid triggering an assert.

parent 8f5c5a3c
...@@ -67,7 +67,7 @@ namespace dlib ...@@ -67,7 +67,7 @@ namespace dlib
for (unsigned long i = 0; i < Fs.size(); ++i) for (unsigned long i = 0; i < Fs.size(); ++i)
fft_inplace(Fs[i]); fft_inplace(Fs[i]);
make_scale_target_location_image(get_num_scale_levels()/2, Gs); make_scale_target_location_image(get_num_scale_levels()/2, Gs);
Bs.set_size(0,0); Bs.set_size(0);
As.resize(Fs.size()); As.resize(Fs.size());
for (unsigned long i = 0; i < Fs.size(); ++i) for (unsigned long i = 0; i < Fs.size(); ++i)
{ {
......
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