From 12a495f7b46e20b9fc349b486a4b33fa946fb716 Mon Sep 17 00:00:00 2001 From: nicolas Date: Wed, 1 Aug 2012 20:03:39 +0000 Subject: [PATCH] --- MagickCore/enhance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/enhance.c b/MagickCore/enhance.c index fcd65a8ca..16e71ec42 100644 --- a/MagickCore/enhance.c +++ b/MagickCore/enhance.c @@ -3403,7 +3403,7 @@ MagickExport MagickBooleanType SigmoidalContrastImage(Image *image, * / * (1/(1+exp(a*(b-1))) - 1/(1+exp(a*b))) * - * "+0.5" is to round by casting. + * "+0.5" below is to round by casting. */ sigmoidal_map[i]=(MagickRealType) ScaleMapToQuantum((MagickRealType) (MaxMap*((uu-u0)/(u1-u0))+0.5)); -- 2.40.0