aboutsummaryrefslogtreecommitdiff
path: root/src/scaling-report.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scaling-report.c')
-rw-r--r--src/scaling-report.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scaling-report.c b/src/scaling-report.c
index ecd2943c..8e70af50 100644
--- a/src/scaling-report.c
+++ b/src/scaling-report.c
@@ -366,8 +366,8 @@ static void partiality_histogram(cairo_t *cr, Crystal **crystals, int n,
Ipart = get_intensity(refl);
Ifull = get_intensity(f);
- /* FIXME: Wrong */
- pobs = Ipart/(crystal_get_osf(cryst)*Ifull);
+ pobs = (Ipart * crystal_get_osf(cryst))
+ / (Ifull * get_lorentz(refl));
pcalc = get_partiality(refl);
if ( calc ) {