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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scaling-report.c b/src/scaling-report.c
index a02a1796..1d7904a6 100644
--- a/src/scaling-report.c
+++ b/src/scaling-report.c
@@ -251,13 +251,13 @@ static void partiality_graph(cairo_t *cr, Crystal **crystals, int n,
if ( f == NULL ) continue;
if ( get_redundancy(f) < 2 ) continue;
- Ipart = get_intensity(refl);
- Ifull = crystal_get_osf(cryst) * get_intensity(f);
+ Ipart = crystal_get_osf(cryst) * get_intensity(refl);
+ Ifull = get_intensity(f);
//if ( Ifull < 10 ) continue; /* FIXME: Ugh */
pobs = Ipart/Ifull;
- pcalc = get_partiality(refl);
+ pcalc = get_lorentz(refl) * get_partiality(refl);
//STATUS("%4i %4i %4i : %9.6f %9.6f %e %e %e\n",
// h, k, l, pobs, pcalc,