From 964dffbc22fed3d6cb08fb257e6d0c6269dc49fb Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 27 Jan 2011 18:30:05 +0100 Subject: Fix small bug --- src/hrs-scaling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3