From d0f902d9e9ad4bd52ebb430043d50c04abb7bd0c Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 22 Jun 2011 16:54:03 +0200 Subject: Whoops --- src/partialator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/partialator.c') 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); -- cgit v1.2.3