diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-07-10 09:14:32 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:32 +0100 |
commit | 7bea9588b976cc24a3906994f884807a269ece27 (patch) | |
tree | c2112271b228672e907d580635a8d54f1c9a16f0 /src/partialator.c | |
parent | 9bd287bf7d7af36c70fc0a56ff688e98dac6d3d8 (diff) |
Mark reflections which were not found by update_partialities()
Diffstat (limited to 'src/partialator.c')
-rw-r--r-- | src/partialator.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/partialator.c b/src/partialator.c index 070aeee3..b6bfe2fc 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -162,6 +162,9 @@ static int select_scalable_reflections(RefList *list, RefList *reference) int sc = 1; double v; + /* 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; |