aboutsummaryrefslogtreecommitdiff
path: root/src/scaling-report.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-09-27 16:53:17 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:38 +0100
commite70bc9693d1db5df26aaefacc7fa34d3eb7dd36f (patch)
treedf5ffaf7fad76c5cae80570b3a17084e021870d9 /src/scaling-report.c
parent1516c764100470c2b77a53ea457c02c300240ad2 (diff)
Add horrendous fudge for partiality graph
Diffstat (limited to 'src/scaling-report.c')
-rw-r--r--src/scaling-report.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scaling-report.c b/src/scaling-report.c
index 8476bd25..faf728e2 100644
--- a/src/scaling-report.c
+++ b/src/scaling-report.c
@@ -328,6 +328,8 @@ static void partiality_histogram(cairo_t *cr, const struct image *images,
Ipart = get_intensity(refl);
Ifull = get_intensity(f);
+ if ( Ifull < 10 ) continue; /* FIXME: Ugh */
+
pobs = Ipart/(images[i].osf*Ifull);
pcalc = get_partiality(refl);