diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-07-18 15:09:37 -0400 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:26:54 +0100 |
commit | 17dc614a8c85ec7c26a0084a5c2ac6b719449634 (patch) | |
tree | 89797a1ff63e63ea19acd2a8004d78e4084274e9 /src | |
parent | ad346773c98622b765b1d95da602ca4189ccba23 (diff) |
render_hkl: Don't divide by counts
Diffstat (limited to 'src')
-rw-r--r-- | src/render_hkl.c | 4 |
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 : |