aboutsummaryrefslogtreecommitdiff
path: root/src/reflist-utils.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-03-22 15:13:16 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:20 +0100
commit9cf5590999fb8fc110e3e6f41fc80fcaf719f5f9 (patch)
tree6325842ddb8722d9f4c9072e5bb6a982702fbd2d /src/reflist-utils.c
parentd303975234f0267ae51f84fded34a03bcf263888 (diff)
Fix resolution convention (->1/d)
Diffstat (limited to 'src/reflist-utils.c')
-rw-r--r--src/reflist-utils.c2
1 files changed, 1 insertions, 1 deletions
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, " -");