aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-12-05 15:37:09 +0100
committerThomas White <taw@physics.org>2013-12-05 15:37:09 +0100
commit5d9b07f330dcc1ed234fc8bc197eaf40a837d03f (patch)
tree29f86cbd7d64958b2353203f46f5ada1e943405a
parent8f8c85b317bd2028cdc30ff40115b8f9f227c371 (diff)
Remove unused ESDs
-rw-r--r--src/hrs-scaling.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c
index 200a90ab..a5393791 100644
--- a/src/hrs-scaling.c
+++ b/src/hrs-scaling.c
@@ -102,7 +102,7 @@ static void run_scale_job(void *vwargs, int cookie)
refl = next_refl(refl, iter) )
{
signed int h, k, l;
- double Ih, Ihl, esd, corr;
+ double Ih, Ihl, corr;
Reflection *r;
if ( !get_scalable(refl) ) continue;
@@ -139,8 +139,7 @@ static void run_scale_job(void *vwargs, int cookie)
}
Ihl = get_intensity(refl) / corr;
- esd = get_esd_intensity(refl) / corr;
-
+
num += Ih * Ihl;
den += Ihl * Ihl;
@@ -240,7 +239,7 @@ static void run_merge_job(void *vwargs, int cookie)
signed int h, k, l;
double num, den;
int red;
- double Ihl, esd, corr;
+ double Ihl, corr;
if ( !get_scalable(refl) ) continue;
@@ -306,7 +305,6 @@ static void run_merge_job(void *vwargs, int cookie)
}
Ihl = get_intensity(refl) / corr;
- esd = get_esd_intensity(refl) / corr;
num += Ihl * G;
den += 1.0;