slightly simplified code

This commit is contained in:
Davis King 2013-07-12 20:26:28 -04:00
parent 2a3d7494e5
commit da44aa6299

View File

@ -449,9 +449,7 @@ namespace dlib
dets.clear();
array<integral_image_generic<double> > saliency_images;
saliency_images.set_max_size(get_num_components_per_detection_template());
saliency_images.set_size(get_num_components_per_detection_template());
array<integral_image_generic<double> > saliency_images(get_num_components_per_detection_template());
array2d<double> temp_img(feats.nr(), feats.nc());