diff options
author | Thomas White <taw@physics.org> | 2011-09-27 17:13:32 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:38 +0100 |
commit | 178c06c5102f02477fb2e87a8c4a44a4904c4e12 (patch) | |
tree | 08287918c940bda0334d46f3081bac857cdc1f8b | |
parent | e70bc9693d1db5df26aaefacc7fa34d3eb7dd36f (diff) |
Fix last commit
-rw-r--r-- | src/scaling-report.c | 4 |
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); |