aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/partialator.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/partialator.c b/src/partialator.c
index 4edf7bf4..ff03c039 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -155,14 +155,15 @@ static int select_scalable_reflections(RefList *list, RefList *reference)
refl = next_refl(refl, iter) ) {
int sc = 1;
- double v;
+ double v, esd;
/* This means the reflection was not found on the last check */
if ( get_redundancy(refl) == 0 ) sc = 0;
if ( get_partiality(refl) < 0.1 ) sc = 0;
v = fabs(get_intensity(refl));
- if ( v < 0.1 ) sc = 0; /* FIXME: Yuk */
+ esd = get_esd_intensity(refl);
+ if ( v < 0.5*esd ) sc = 0;
/* If we are scaling against a reference set, we additionally
* require that this reflection is in the reference list. */