]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 15 May 2014 15:31:50 +0000 (15:31 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 15 May 2014 15:31:50 +0000 (15:31 +0000)
MagickCore/fx.c

index 1c6ac2968d40f3edce68ad6ddcdd224fce612daa..41828353d4c5cfa19957e3bbc46772c7850cde2b 100644 (file)
@@ -2211,7 +2211,7 @@ static double FxEvaluateSubexpression(FxInfo *fx_info,
         case EqualOperator:
         {
           *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,beta,exception);
-          return(fabs(alpha-(*beta)) < MagickEpsilon ? MagickEpsilon : 0.0);
+          return(fabs(alpha-(*beta)) < MagickEpsilon ? 1.0 : 0.0);
         }
         case NotEqualOperator:
         {