aboutsummaryrefslogtreecommitdiff
path: root/src/merge.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-11-16 16:07:00 +0100
committerThomas White <taw@physics.org>2018-11-22 13:17:05 +0100
commit516fe4e0275323b3439ceda0e8a92204b8479c6e (patch)
tree0cfe98e464fa9be58e1baf9e562c49d95204bc6a /src/merge.c
parent796943e02fe26b7f612bf6b7ed91d6ba14a85f4c (diff)
Restore reflection weighting
Diffstat (limited to 'src/merge.c')
-rw-r--r--src/merge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/merge.c b/src/merge.c
index 56ca2020..a655b2cc 100644
--- a/src/merge.c
+++ b/src/merge.c
@@ -230,7 +230,7 @@ static void run_merge_job(void *vwargs, int cookie)
}
/* Reflections count less the more they have to be scaled up */
- w = 1.0;
+ w = get_partiality(refl);
/* Running mean and variance calculation */
temp = w + sumweight;