diff options
author | Thomas White <taw@physics.org> | 2011-06-22 16:54:03 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:30 +0100 |
commit | d0f902d9e9ad4bd52ebb430043d50c04abb7bd0c (patch) | |
tree | 162d3cb5a0bd8f4848038b70599902896a442948 /src/partialator.c | |
parent | 591e2f712e517780c2dd72d1e7efaabdee2fb6fa (diff) |
Whoops
Diffstat (limited to 'src/partialator.c')
-rw-r--r-- | src/partialator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partialator.c b/src/partialator.c index 7efd26a5..a2e802d2 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -144,7 +144,7 @@ static void refine_all(struct image *images, int n_total_patterns, qargs.images = images; /* Don't have threads which are doing nothing */ - if ( n_total_patterns > nthreads ) nthreads = n_total_patterns; + if ( n_total_patterns < nthreads ) nthreads = n_total_patterns; run_threads(nthreads, refine_image, get_image, done_image, &qargs, n_total_patterns, 0, 0, 0); |