aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 :