commit | f7b28ea10b22c5c60dd7a3a08b5f15d3636e10bc | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Fri Apr 27 11:22:49 2012 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Fri Apr 27 11:22:49 2012 +0000 |
tree | a7a9847f4106d9af254771798e9f7f5561971373 | |
parent | ca48768de3c863906af82fadea071bf51cbf48cf [diff] [blame] |
diff --git a/MagickCore/fx.c b/MagickCore/fx.c index a1fb3b2..6cd1861 100644 --- a/MagickCore/fx.c +++ b/MagickCore/fx.c
@@ -2768,7 +2768,7 @@ { alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+6,beta, exception); - return((MagickRealType) (1.0/(1.0+exp((double) (4.0*alpha))))); + return((MagickRealType) (1.0/(1.0+exp((double) (-alpha))))); } if (LocaleCompare(expression,"s") == 0) return(FxGetSymbol(fx_info,channel,x,y,expression,exception));