aboutsummaryrefslogtreecommitdiff
path: root/src/hrs-scaling.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-01-27 18:30:05 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:12 +0100
commit964dffbc22fed3d6cb08fb257e6d0c6269dc49fb (patch)
treef0f38558528c4a221a70ab78da3e0948179ae619 /src/hrs-scaling.c
parent415fc3a6a4671710aa7286306e11c8694bd0ef04 (diff)
Fix small bug
Diffstat (limited to 'src/hrs-scaling.c')
-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 44fd324a..a03cd93f 100644
--- a/src/hrs-scaling.c
+++ b/src/hrs-scaling.c
@@ -209,7 +209,7 @@ static double iterate_scale(struct image *images, int n,
double mc = 0.0;
double tval, rhb, vhb, uhb;
int bcomp;
- struct image *image_b = &images[a];
+ struct image *image_b = &images[b];
/* Matrix is symmetric */
if ( b > a ) continue;