diff options
-rw-r--r-- | src/process_hkl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/process_hkl.c b/src/process_hkl.c index 4e0738aa..047ef55c 100644 --- a/src/process_hkl.c +++ b/src/process_hkl.c @@ -232,6 +232,7 @@ static int merge_crystal(RefList *model, struct image *image, Crystal *cr, refl_sigma = scale * get_esd_intensity(refl); w = 1.0;//pow(refl_sigma, -2.0); + if ( (min_snr > -INFINITY) && isnan(refl_sigma) ) continue; if ( refl_intensity < min_snr * refl_sigma ) continue; get_indices(refl, &h, &k, &l); |