diff options
author | Thomas White <taw@physics.org> | 2011-01-27 18:30:05 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:12 +0100 |
commit | 964dffbc22fed3d6cb08fb257e6d0c6269dc49fb (patch) | |
tree | f0f38558528c4a221a70ab78da3e0948179ae619 | |
parent | 415fc3a6a4671710aa7286306e11c8694bd0ef04 (diff) |
Fix small bug
-rw-r--r-- | src/hrs-scaling.c | 2 |
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; |