From 8f118e3e1296f9c1d0302c29a70a16a09fb4f877 Mon Sep 17 00:00:00 2001 From: Davis King Date: Thu, 3 Feb 2011 00:23:04 +0000 Subject: [PATCH] Fixed a bug in an assert --HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404119 --- dlib/image_transforms/spatial_filtering.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlib/image_transforms/spatial_filtering.h b/dlib/image_transforms/spatial_filtering.h index c824918c1..2f5e8ee70 100644 --- a/dlib/image_transforms/spatial_filtering.h +++ b/dlib/image_transforms/spatial_filtering.h @@ -38,7 +38,7 @@ namespace dlib "\tvoid spatially_filter_image()" << "\n\tYou can't give a scale of zero" ); - DLIB_ASSERT(is_same_object(in_img, out_img), + DLIB_ASSERT(is_same_object(in_img, out_img) == false, "\tvoid spatially_filter_image()" << "\n\tYou must give two different image objects" );