From 031a4d37cf355fd72a991dbd1167c8e492011730 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 16 Jun 2015 17:52:06 +0200 Subject: partialator: Fix rejection bugs --- src/rejection.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/rejection.c') 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 1e18 ) { + if ( fabs(crystal_get_Bfac(crystals[i])) > 1e-18 ) { crystal_set_user_flag(crystals[i], 1); } -- cgit v1.2.3