aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hrs-scaling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c
index 03f4c1d5..052d91c5 100644
--- a/src/hrs-scaling.c
+++ b/src/hrs-scaling.c
@@ -204,7 +204,7 @@ static double iterate_scale(struct image *images, int n,
mc += Ihl * Ihm / sigma_Gsq;
- mc += (sigma_GI / pow(sigma_Gsq, 2.0) )
+ mc -= (sigma_GI / pow(sigma_Gsq, 2.0) )
* ( imagel->osf*Ihm + imagem->osf * Ihl);
mc_tot += mc;