diff options
author | Thomas White <taw@physics.org> | 2015-09-08 15:30:48 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-09-24 13:28:30 +0200 |
commit | 63741b85b77d5a822e95318f549fe4d2392e29b8 (patch) | |
tree | 67b3f8f1069cad6f811b0b0805589ff66b49230e /src/rejection.c | |
parent | 950d25fda7ac78fc4f97c5b3ce12f549b6cb9995 (diff) |
Reject big B factors before trying PR
Diffstat (limited to 'src/rejection.c')
-rw-r--r-- | src/rejection.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/rejection.c b/src/rejection.c index ef185034..fbee6f72 100644 --- a/src/rejection.c +++ b/src/rejection.c @@ -193,7 +193,7 @@ static void show_duds(Crystal **crystals, int n_crystals) } -void check_rejection(Crystal **crystals, int n, RefList *full, double max_B) +void check_rejection(Crystal **crystals, int n, RefList *full) { int i; int n_acc = 0; @@ -202,14 +202,7 @@ void check_rejection(Crystal **crystals, int n, RefList *full, double max_B) //if ( full != NULL ) check_ccs(crystals, n, full); for ( i=0; i<n; i++ ) { - - /* Reject if B factor modulus is very large */ - if ( fabs(crystal_get_Bfac(crystals[i])) > max_B ) { - crystal_set_user_flag(crystals[i], PRFLAG_BIGB); - } - if ( crystal_get_user_flag(crystals[i]) == 0 ) n_acc++; - } show_duds(crystals, n); |