diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-05-06 09:17:22 -0700 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2010-05-06 09:17:22 -0700 |
commit | 8e8f56544fa1da07c97a8125cb700bdcbdc97e53 (patch) | |
tree | f5dd6e0ddd294d6b44ea3ee51b549ee68748dd83 /src/process_hkl.c | |
parent | c353621be968fe28e9010d8ad9e2a8392ec143ae (diff) |
process_hkl: Don't try to compare against structure, EVER, if no structure is given
Diffstat (limited to 'src/process_hkl.c')
-rw-r--r-- | src/process_hkl.c | 3 |
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, |