diff options
author | Thomas White <taw@physics.org> | 2014-06-16 12:07:07 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-06-16 12:07:31 +0200 |
commit | 162b0c7a8a8a7c91a4c12e75577ec33aef03b1ce (patch) | |
tree | d8992825ee129592401333244ecc55815fa0c489 | |
parent | 40d6969c7a05fe13c3883443d1c9feba6fab30d1 (diff) |
partial_sim: Don't assume input reflection list is in asymmetric unit
-rw-r--r-- | src/partial_sim.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c index 17603d70..fa68638f 100644 --- a/src/partial_sim.c +++ b/src/partial_sim.c @@ -657,6 +657,8 @@ int main(int argc, char *argv[]) /* Load (full) reflections */ if ( input_file != NULL ) { + RefList *as; + full = read_reflections(input_file); if ( full == NULL ) { ERROR("Failed to read reflections from '%s'\n", @@ -670,6 +672,10 @@ int main(int argc, char *argv[]) return 1; } + as = asymmetric_indices(full, sym); + reflist_free(full); + full = as; + } else { random_intensities = 1; } |