From ffa6f9d557e04eb12ccb9e16e4a7beca9e0b8c68 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 18 Jul 2010 13:50:53 -0400 Subject: process_hkl: Don't divide by counts for --max-only --- src/process_hkl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/process_hkl.c b/src/process_hkl.c index 76576a9b..f1c1877c 100644 --- a/src/process_hkl.c +++ b/src/process_hkl.c @@ -324,7 +324,8 @@ static void merge_all(FILE *fh, double **pmodel, ReflItemList **pobserved, delete_items(items); free(new_pattern); - if ( !config_sum ) { + /* Calculate mean intensity if necessary */ + if ( !config_sum && !config_maxonly ) { for ( i=0; i 0 ) { model[i] /= (double)counts[i]; -- cgit v1.2.3