diff options
author | Thomas White <taw@physics.org> | 2011-07-08 11:39:09 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:32 +0100 |
commit | b6eaa3b5b4274d88d17743465a0e361f726824a4 (patch) | |
tree | 4f176ae08619c839103c5879ccd4b912ef0c7429 /src/hrs-scaling.c | |
parent | 842290c307a55d01b765065757a7162ae5c2cde7 (diff) |
Formatting
Diffstat (limited to 'src/hrs-scaling.c')
-rw-r--r-- | src/hrs-scaling.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c index b2d52f77..60a6c2f4 100644 --- a/src/hrs-scaling.c +++ b/src/hrs-scaling.c @@ -287,6 +287,8 @@ static double iterate_scale(struct image *images, int n, RefList *scalable, vha = vha_arr[a]; rha = vha - image_a->osf * uha * Ih; vc = Ih * rha; + vval = gsl_vector_get(v, a); + gsl_vector_set(v, a, vval+vc); /* Determine the matrix component */ for ( b=0; b<n; b++ ) { @@ -325,9 +327,6 @@ static double iterate_scale(struct image *images, int n, RefList *scalable, } - vval = gsl_vector_get(v, a); - gsl_vector_set(v, a, vval+vc); - } } |