aboutsummaryrefslogtreecommitdiff
path: root/src/partial_sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/partial_sim.c')
-rw-r--r--src/partial_sim.c6
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;
}