From: cristy Date: Mon, 4 Jun 2012 22:09:17 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5491 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=972050b2a26e3284abd1ea551e9b0ae71928b0ca;p=imagemagick --- diff --git a/MagickCore/fx.c b/MagickCore/fx.c index a33bce407..5c97ec285 100644 --- a/MagickCore/fx.c +++ b/MagickCore/fx.c @@ -2214,7 +2214,7 @@ static MagickRealType FxEvaluateSubexpression(FxInfo *fx_info, case NotEqualOperator: { *beta=FxEvaluateSubexpression(fx_info,channel,x,y,++p,beta,exception); - return(fabs(alpha-(*beta)) > MagickEpsilon ? 1.0 : 0.0); + return(fabs(alpha-(*beta)) >= MagickEpsilon ? 1.0 : 0.0); } case '&': { @@ -2254,7 +2254,7 @@ static MagickRealType FxEvaluateSubexpression(FxInfo *fx_info, OptionError,"UnableToParseExpression","'%s'",subexpression); return(0.0); } - if (fabs((double) alpha) > MagickEpsilon) + if (fabs((double) alpha) >= MagickEpsilon) gamma=FxEvaluateSubexpression(fx_info,channel,x,y,p,beta,exception); else gamma=FxEvaluateSubexpression(fx_info,channel,x,y,q,beta,exception);