aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-11-24 16:34:29 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:41 +0100
commit4b22b97bf5afa483b36fc2c4b94da837d2e776b0 (patch)
treea0dba931ab2a92809d280f3e705e8ce543f101f3 /src
parent0e0fd58580aabb013b5cde454e85df754b9b663c (diff)
compare_hkl: Fix Rsplit calculation
Diffstat (limited to 'src')
-rw-r--r--src/compare_hkl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compare_hkl.c b/src/compare_hkl.c
index e5210aae..93584903 100644
--- a/src/compare_hkl.c
+++ b/src/compare_hkl.c
@@ -185,7 +185,7 @@ static void plot_shells(RefList *list1, RefList *list2, double scale,
case R_SHELL_RSPLIT :
num[bin] += fabs(i1 - scale*i2);
- den += i1 + i2;
+ den += i1 + scale*i2;
break;
case R_SHELL_R1I :