aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-09-29 17:31:38 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:38 +0100
commit353a04965e506c135f3bb7e992f729f73441ed1e (patch)
tree6f5293614c770086967ad22a518baaf2750ee4b6
parent36972a358fb091d4be716fae33237e3711f926ec (diff)
Don't forget to initialise max_shift
-rw-r--r--src/hrs-scaling.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c
index 52d88214..05250166 100644
--- a/src/hrs-scaling.c
+++ b/src/hrs-scaling.c
@@ -161,6 +161,7 @@ static double iterate_scale(struct image *images, int n, RefList *reference,
qargs.n_started = 0;
qargs.n_to_do = n;
qargs.images = images;
+ qargs.max_shift = 0.0;
run_threads(n_threads, run_job, create_job, finalise_job,
&qargs, n, 0, 0, 0);