diff options
Diffstat (limited to 'src/process_hkl.c')
-rw-r--r-- | src/process_hkl.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/process_hkl.c b/src/process_hkl.c index 2533102a..b1fcad51 100644 --- a/src/process_hkl.c +++ b/src/process_hkl.c @@ -472,7 +472,11 @@ static void merge_all(FILE *fh, double **pmodel, ReflItemList **pobserved, hist_i, devs, means, outfh); n_patterns++; - if ( n_patterns == config_stopafter ) break; + if ( n_patterns == config_stopafter ) { + progress_bar(n_total_patterns, n_total_patterns, + "Merging"); + break; + } progress_bar(n_patterns, n_total_patterns, "Merging"); /* Reset for the next pattern */ |