diff options
Diffstat (limited to 'src/reflections.c')
-rw-r--r-- | src/reflections.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/reflections.c b/src/reflections.c index 9a1a2910..4c3cf527 100644 --- a/src/reflections.c +++ b/src/reflections.c @@ -102,7 +102,7 @@ void write_reflections(const char *filename, ReflItemList *items, */ ReflItemList *read_reflections(const char *filename, double *intensities, double *phases, - unsigned int *counts) + unsigned int *counts, double *esds) { FILE *fh; char *rval; @@ -163,6 +163,9 @@ ReflItemList *read_reflections(const char *filename, if ( counts != NULL ) { set_count(counts, h, k, l, cts); } + if ( esds != NULL ) { + set_sigma(esds, h, k, l, sigma); + } } while ( rval != NULL ); |