From: nicolas Date: Tue, 4 Sep 2012 14:44:55 +0000 (+0000) Subject: comment typos X-Git-Tag: 7.0.1-0~5008 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e8f8029ef03d86b0f0acddadd38112d8f0369917;p=imagemagick comment typos --- diff --git a/MagickCore/enhance.c b/MagickCore/enhance.c index fae93a2b1..ea7246713 100644 --- a/MagickCore/enhance.c +++ b/MagickCore/enhance.c @@ -3362,8 +3362,9 @@ MagickExport MagickBooleanType SigmoidalContrastImage(Image *image, The tanh version is almost certainly more accurate and cheaper. The 0.5 factor in the argument is to clone the legacy ImageMagick behavior. - The reason for making the define depend on whether atanh has to do - with the construction of the inverse of the scaled sigmoidal. + The reason for making the define depend on atanh even though it only + uses tanh has to do with the construction of the inverse of the scaled + sigmoidal. */ #if defined(MAGICKCORE_HAVE_ATANH) #define Sig(a,b,x) ( tanh((0.5*(a))*((x)-(b))) )