From d1cb39a90e8e90b8aadd89f128b1b2639954d491 Mon Sep 17 00:00:00 2001 From: cristy Date: Sun, 15 Jun 2014 16:57:40 +0000 Subject: [PATCH] --- MagickCore/statistic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.50.1