aboutsummaryrefslogtreecommitdiff
path: root/src/process_hkl.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-05-06 09:17:22 -0700
committerThomas White <taw@bitwiz.org.uk>2010-05-06 09:17:22 -0700
commit8e8f56544fa1da07c97a8125cb700bdcbdc97e53 (patch)
treef5dd6e0ddd294d6b44ea3ee51b549ee68748dd83 /src/process_hkl.c
parentc353621be968fe28e9010d8ad9e2a8392ec143ae (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.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,