aboutsummaryrefslogtreecommitdiff
path: root/src/facetron.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/facetron.c')
-rw-r--r--src/facetron.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/facetron.c b/src/facetron.c
index 3dc7d486..27fc1608 100644
--- a/src/facetron.c
+++ b/src/facetron.c
@@ -174,8 +174,8 @@ static void refine_all(struct image *images, int n_total_patterns,
}
- munch_threads(n_total_patterns, nthreads, "Refining",
- refine_image, tasks);
+ run_thread_range(n_total_patterns, nthreads, "Refining",
+ refine_image, tasks);
free(tasks);
}
@@ -205,8 +205,8 @@ static void estimate_full(struct image *images, int n_total_patterns,
}
- munch_threads(n_total_patterns, nthreads, "Integrating",
- integrate_image, tasks);
+ run_thread_range(n_total_patterns, nthreads, "Integrating",
+ integrate_image, tasks);
free(tasks);