From fa72ac694674d4efac2aba314a9fd2516ac99fdf Mon Sep 17 00:00:00 2001 From: Davis King Date: Tue, 19 Dec 2017 14:18:55 -0500 Subject: [PATCH] Removed an assert used for debugging that shouldn't have been committed. --- dlib/image_transforms/random_cropper.h | 1 - 1 file changed, 1 deletion(-) diff --git a/dlib/image_transforms/random_cropper.h b/dlib/image_transforms/random_cropper.h index dfc3c35d6..2c754b608 100644 --- a/dlib/image_transforms/random_cropper.h +++ b/dlib/image_transforms/random_cropper.h @@ -274,7 +274,6 @@ namespace dlib const double rand_scale_perturb = 1.0/rnd.get_double_in_range(min_scale, 1); crop_rect = centered_drect(drect, drect.width()*rand_scale_perturb, drect.height()*rand_scale_perturb); - DLIB_CASSERT(crop_rect.width() == crop_rect.height()); } else