diff options
author | Thomas White <taw@physics.org> | 2015-06-16 17:52:06 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-06-16 17:52:06 +0200 |
commit | 031a4d37cf355fd72a991dbd1167c8e492011730 (patch) | |
tree | e5afd3661d057dd183895fba352ee927f24cf441 /src/rejection.c | |
parent | 8d1af638f127095c4760030baad92a6ca2da7411 (diff) |
partialator: Fix rejection bugs
Diffstat (limited to 'src/rejection.c')
-rw-r--r-- | src/rejection.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rejection.c b/src/rejection.c index 28a8d32f..a565fec3 100644 --- a/src/rejection.c +++ b/src/rejection.c @@ -90,7 +90,6 @@ void early_rejection(Crystal **crystals, int n) STATUS("Mean intensity/peak = %f ADU\n", m/n); STATUS("%i crystals flagged\n", n_flag); - check_rejection(crystals, n, NULL); } @@ -176,7 +175,7 @@ void check_rejection(Crystal **crystals, int n, RefList *full) for ( i=0; i<n; i++ ) { /* Reject if B factor modulus is very large */ - if ( fabs(crystal_get_Bfac(crystals[i])) > 1e18 ) { + if ( fabs(crystal_get_Bfac(crystals[i])) > 1e-18 ) { crystal_set_user_flag(crystals[i], 1); } |