From 4cc7817179441f9029a412d714a9d3230c6c1544 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sat, 12 Feb 2011 19:07:23 -0800 Subject: Change variable name to avoid confusion --- src/hrs-scaling.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/hrs-scaling.c') diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c index d5d96ffc..9c96b049 100644 --- a/src/hrs-scaling.c +++ b/src/hrs-scaling.c @@ -110,6 +110,7 @@ static double iterate_scale(struct image *images, int n, double *vha_arr; int h; /* Reflection index */ int frame; + int refidx; M = gsl_matrix_calloc(n, n); v = gsl_vector_calloc(n); @@ -133,10 +134,10 @@ static double iterate_scale(struct image *images, int n, uha_arr = malloc(n*sizeof(double)); vha_arr = malloc(n*sizeof(double)); - for ( h=0; hh; const signed int k = it->k; const signed int l = it->l; @@ -201,6 +202,7 @@ static double iterate_scale(struct image *images, int n, gsl_vector_set(v, a, vval+vc); } + progress_bar(refidx, n_ref, "Filling matrix"); } -- cgit v1.2.3