aboutsummaryrefslogtreecommitdiff
path: root/src/partialator.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-07-12 21:26:13 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:33 +0100
commit0787f3a99627f7a29a81690b7c19b926e2395259 (patch)
tree3790f10f25811dc9289b933b1d0486a4a64631b4 /src/partialator.c
parent35745413662b648c34a322d572c4f5e1b90f9b1b (diff)
Ignore PR-dud images when scaling
Diffstat (limited to 'src/partialator.c')
-rw-r--r--src/partialator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/partialator.c b/src/partialator.c
index b6bfe2fc..7b8eefa1 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -201,6 +201,8 @@ static void select_reflections_for_refinement(struct image *images, int n,
int n_fewmatch = 0;
int n_ref = 0;
+ if ( images[i].pr_dud ) continue;
+
for ( refl = first_refl(images[i].reflections, &iter);
refl != NULL;
refl = next_refl(refl, iter) )