From: nicolas Date: Wed, 1 Aug 2012 20:03:39 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5209 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=12a495f7b46e20b9fc349b486a4b33fa946fb716;p=imagemagick --- 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));