aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-09-30 16:54:11 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:38 +0100
commit5e934ae27dd4f94d732847c3dee66b785171bfb1 (patch)
tree40f1c1b3ceee97edfe4b8d09e6c74a88538abdc2
parent0dfa03ad8fdacd5b969b17fc35c3d22fbfb9d949 (diff)
Fix previous commit
(But not the spelling)
-rw-r--r--src/scaling-report.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scaling-report.c b/src/scaling-report.c
index 6675a6ba..80f8d0c2 100644
--- a/src/scaling-report.c
+++ b/src/scaling-report.c
@@ -218,11 +218,11 @@ static void partiality_graph(cairo_t *cr, const struct image *images, int n,
int bin;
if ( !get_scalable(refl) ) continue;
- if ( get_redundancy(refl) < 2 ) continue;
get_indices(refl, &h, &k, &l);
f = find_refl(full, h, k, l);
if ( f == NULL ) continue;
+ if ( get_redundancy(f) < 2 ) continue;
Ipart = get_intensity(refl);
Ifull = get_intensity(f);