From: cristy Date: Sun, 15 Jun 2014 16:57:40 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2223 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d1cb39a90e8e90b8aadd89f128b1b2639954d491;p=imagemagick --- diff --git a/MagickCore/statistic.c b/MagickCore/statistic.c index a69646b3d..80d239061 100644 --- a/MagickCore/statistic.c +++ b/MagickCore/statistic.c @@ -371,7 +371,7 @@ static double ApplyEvaluateOperator(RandomInfo *random_info,const Quantum pixel, } case RootMeanSquareEvaluateOperator: { - result=(double) (pixel*value); + result=(double) (pixel*pixel+value); break; } case SetEvaluateOperator: