aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hrs-scaling.c2
-rw-r--r--src/partialator.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c
index cff0b90c..1c46effe 100644
--- a/src/hrs-scaling.c
+++ b/src/hrs-scaling.c
@@ -54,6 +54,8 @@ static double iterate_scale(struct image *images, int n, RefList *reference)
double den = 0.0;
double corr;
+ if ( image->pr_dud ) continue;
+
for ( refl = first_refl(image->reflections, &iter);
refl != NULL;
refl = next_refl(refl, iter) )
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) )