Commit 17dc614a authored by Thomas White's avatar Thomas White Committed by Thomas White
Browse files

render_hkl: Don't divide by counts

parent ad346773
......@@ -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 :
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment