aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-01-16 17:03:18 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:11 +0100
commit537c1bf6b534e3dfc07b8b53c674256b7a5dc023 (patch)
tree7442fcb3bf351d2970f49bcd504af055a29ec24f /src
parent87e90281aeb032410ede9c28f68c3a5d03e402fe (diff)
This plus sign should be a minus
Diffstat (limited to 'src')
-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;