diff options
author | Thomas White <taw@physics.org> | 2011-05-02 16:09:12 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:25 +0100 |
commit | 31851dfe017e89ebcf00c89ea4c3a0f12f7e86a6 (patch) | |
tree | 11019bd16952189f60085beca1eecfdb748a573e /src/reflist-utils.c | |
parent | 0b87230e52bf5c99366651a0cbafa07d212be4a7 (diff) |
Get rid of "image.raw_reflections"
Diffstat (limited to 'src/reflist-utils.c')
-rw-r--r-- | src/reflist-utils.c | 9 |
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); } |