aboutsummaryrefslogtreecommitdiff
path: root/src/scaling-report.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-09-27 17:13:32 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:38 +0100
commit178c06c5102f02477fb2e87a8c4a44a4904c4e12 (patch)
tree08287918c940bda0334d46f3081bac857cdc1f8b /src/scaling-report.c
parente70bc9693d1db5df26aaefacc7fa34d3eb7dd36f (diff)
Fix last commit
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 faf728e2..96537ae8 100644
--- a/src/scaling-report.c
+++ b/src/scaling-report.c
@@ -226,6 +226,8 @@ static void partiality_graph(cairo_t *cr, const struct image *images, int n,
Ipart = get_intensity(refl);
Ifull = get_intensity(f);
+ if ( Ifull < 10 ) continue; /* FIXME: Ugh */
+
pobs = Ipart/(images[i].osf*Ifull);
pcalc = get_partiality(refl);
@@ -328,8 +330,6 @@ 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);