aboutsummaryrefslogtreecommitdiff
path: root/src/reflist-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reflist-utils.c')
-rw-r--r--src/reflist-utils.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/reflist-utils.c b/src/reflist-utils.c
index 0a5c4863..016fa317 100644
--- a/src/reflist-utils.c
+++ b/src/reflist-utils.c
@@ -362,7 +362,7 @@ RefList *read_reflections(const char *filename)
}
-RefList *asymmetric_indices(RefList *in, const char *sym, ReflItemList *obs)
+RefList *asymmetric_indices(RefList *in, const char *sym)
{
Reflection *refl;
RefListIterator *iter;
@@ -386,12 +386,7 @@ RefList *asymmetric_indices(RefList *in, const char *sym, ReflItemList *obs)
assert(cr != NULL);
copy_data(cr, refl);
-
- if ( obs != NULL ) {
- if ( !find_item(obs, ha, ka, la) ) {
- add_item(obs, ha, ka, la);
- }
- }
+ set_symmetric_indices(cr, h, k, l);
}