diff options
author | Thomas White <taw@physics.org> | 2013-11-07 15:00:35 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-11-07 15:00:35 +0100 |
commit | 156dc5382ac1a7ec3cd38daf49b1c47653749baf (patch) | |
tree | 7303c332f14ea2784816403e7e1128ef6257cf43 /src | |
parent | a92b6fa6ebc393c6943637f7a69a46b4ffe722e5 (diff) | |
parent | 85f9d25782b59aa397fbe224fac296a8fbcc5407 (diff) |
Merge branch 'master' of ssh://git.bitwiz.org.uk/crystfel
Diffstat (limited to 'src')
-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); |