aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/process_hkl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/process_hkl.c b/src/process_hkl.c
index d09fca22..53638e7b 100644
--- a/src/process_hkl.c
+++ b/src/process_hkl.c
@@ -392,7 +392,8 @@ int main(int argc, char *argv[])
merge_pattern(model, new_pattern, model_counts,
new_counts, config_maxonly, config_sum);
- if (config_every && (n_patterns % config_every == 0)) {
+ if ( (trueref != NULL) && config_every
+ && (n_patterns % config_every == 0) ) {
process_reflections(model, model_counts,
trueref, truecounts,
n_patterns, cell,