From: cristy Date: Fri, 22 Jun 2012 13:45:51 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5369 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e9255b649960d02c30b7c9fb9ed578506546320;p=imagemagick --- diff --git a/tests/validate.c b/tests/validate.c index bf81259c8..7b391801e 100644 --- a/tests/validate.c +++ b/tests/validate.c @@ -50,11 +50,6 @@ #include "MagickCore/string-private.h" #include "validate.h" -/* - Define declarations. -*/ -#define DistortionEpsilon ((MagickRealType) 1.0e-5) - /* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % @@ -638,7 +633,7 @@ static size_t ValidateImageFormatsInMemory(ImageInfo *image_info, #endif if (IssRGBColorspace(reference_image->colorspace) == MagickFalse) fuzz+=0.3; - fuzz+=DistortionEpsilon; + fuzz+=MagickEpsilon; difference_image=CompareImages(reference_image,reconstruct_image, RootMeanSquaredErrorMetric,&distortion,exception); reconstruct_image=DestroyImage(reconstruct_image); @@ -850,7 +845,7 @@ static size_t ValidateImageFormatsOnDisk(ImageInfo *image_info, #endif if (IssRGBColorspace(reference_image->colorspace) == MagickFalse) fuzz+=0.3; - fuzz+=DistortionEpsilon; + fuzz+=MagickEpsilon; difference_image=CompareImages(reference_image,reconstruct_image, RootMeanSquaredErrorMetric,&distortion,exception); reconstruct_image=DestroyImage(reconstruct_image);