From 9cf5590999fb8fc110e3e6f41fc80fcaf719f5f9 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 22 Mar 2011 15:13:16 +0100 Subject: Fix resolution convention (->1/d) --- src/reflist-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reflist-utils.c b/src/reflist-utils.c index 281a871c..af0cddbc 100644 --- a/src/reflist-utils.c +++ b/src/reflist-utils.c @@ -189,7 +189,7 @@ void write_reflections_to_file(FILE *fh, RefList *list, UnitCell *cell) red = get_redundancy(refl); if ( cell != NULL ) { - s = resolution(cell, h, k, l); + s = 2.0 * resolution(cell, h, k, l); snprintf(res, 16, "%10.2f", s/1e9); } else { strcpy(res, " -"); -- cgit v1.2.3