From fc4b1ab0a554a21374b03b502c1c5a5958429be9 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 30 Nov 2010 16:38:19 +0100 Subject: get_hkl: Propagate sigmas properly when twinning --- src/get_hkl.c | 45 +++++++++++++++------------------------------ 1 file changed, 15 insertions(+), 30 deletions(-) diff --git a/src/get_hkl.c b/src/get_hkl.c index 7fb14f7e..b952a2e8 100644 --- a/src/get_hkl.c +++ b/src/get_hkl.c @@ -108,7 +108,8 @@ static void noise_reflections(double *ref, ReflItemList *items) static ReflItemList *twin_reflections(double *ref, ReflItemList *items, - const char *holo, const char *mero) + const char *holo, const char *mero, + double *esds) { int i; ReflItemList *new; @@ -122,7 +123,7 @@ static ReflItemList *twin_reflections(double *ref, ReflItemList *items, for ( i=0; iadu_per_photon; - } - - write_reflections(output, write_items, ideal_ref, NULL, phases, + write_reflections(output, write_items, ideal_ref, esds, phases, NULL, cell); delete_items(input_items); -- cgit v1.2.3