diff options
-rw-r--r-- | src/merge.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/merge.c b/src/merge.c index 96e192f8..670f81c6 100644 --- a/src/merge.c +++ b/src/merge.c @@ -159,7 +159,6 @@ static void run_merge_job(void *vwargs, int cookie) signed int h, k, l; double mean, sumweight, M2, temp, delta, R; double corr, res, w; - //double esd; if ( get_partiality(refl) < MIN_PART_MERGE ) continue; @@ -200,8 +199,8 @@ static void run_merge_job(void *vwargs, int cookie) continue; } - //esd = get_esd_intensity(refl) * corr; - w = 1.0; + /* Reflections count less the more they have to be scaled up */ + w = 1.0 / corr; /* Running mean and variance calculation */ temp = w + sumweight; |