aboutsummaryrefslogtreecommitdiff
path: root/src/partialator.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-05-11 16:12:25 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:26 +0100
commitf20b306597bb8a06aa91b0d257f219a2599fa885 (patch)
tree0caecd041df08dc672c93cb78e94469e17c58a1c /src/partialator.c
parent0d34a1d7fca3804f2d6cb930060a83cfdcba6d63 (diff)
partialator: Refine all images
Diffstat (limited to 'src/partialator.c')
-rw-r--r--src/partialator.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/partialator.c b/src/partialator.c
index 74ba95ac..bdac9754 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -137,9 +137,8 @@ static void refine_all(struct image *images, int n_total_patterns,
qargs.task_defaults = task_defaults;
qargs.n = 0;
qargs.n_done = 0;
- /* FIXME: Not refining the first image, for now */
- qargs.n_total_patterns = n_total_patterns-1;
- qargs.images = images+1;
+ qargs.n_total_patterns = n_total_patterns;
+ qargs.images = images;
run_threads(nthreads, refine_image, get_image, done_image,
&qargs, n_total_patterns-1, 0, 0, 0);