comment typos
authornicolas <nicolas@git.imagemagick.org>
Tue, 4 Sep 2012 14:44:55 +0000 (14:44 +0000)
committernicolas <nicolas@git.imagemagick.org>
Tue, 4 Sep 2012 14:44:55 +0000 (14:44 +0000)
MagickCore/enhance.c

index fae93a2b1fd0e223227ac76a4f6c50123f8b3249..ea7246713c96beb25f72b0b23cd12b38307c2f4d 100644 (file)
@@ -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))) )