Commit c4a516b0 authored by Davis King's avatar Davis King

Fixed a minor typo in the code. It shouldn't have negatively effected anything.

But nevertheless, it's fixed.
parent 4a862889
...@@ -64,8 +64,8 @@ namespace dlib ...@@ -64,8 +64,8 @@ namespace dlib
max_num_dets = 0; max_num_dets = 0;
for (unsigned long i = 0; i < truth_rects.size(); ++i) for (unsigned long i = 0; i < truth_rects.size(); ++i)
{ {
if (truth_rects.size() > max_num_dets) if (truth_rects[i].size() > max_num_dets)
max_num_dets = truth_rects.size(); max_num_dets = truth_rects[i].size();
scanners[i].copy_configuration(scanner); scanners[i].copy_configuration(scanner);
} }
......
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