aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);