aboutsummaryrefslogtreecommitdiff
path: root/src/render_hkl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/render_hkl.c')
-rw-r--r--src/render_hkl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render_hkl.c b/src/render_hkl.c
index ad7ee46c..a1465d92 100644
--- a/src/render_hkl.c
+++ b/src/render_hkl.c
@@ -209,10 +209,10 @@ static void render_za(UnitCell *cell, double *ref, unsigned int *c,
switch ( wght ) {
case WGHT_I :
- val = lookup_intensity(ref, h, k, 0) / (float)ct;
+ val = lookup_intensity(ref, h, k, 0);
break;
case WGHT_SQRTI :
- val = lookup_intensity(ref, h, k, 0) / (float)ct;
+ val = lookup_intensity(ref, h, k, 0);
val = (val>0.0) ? sqrt(val) : 0.0;
break;
case WGHT_COUNTS :