Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Oleksii Turkot
CrystFEL
Commits
f504be5b
Commit
f504be5b
authored
Mar 05, 2020
by
Thomas White
Browse files
partialator: Gracefully handle negative and NaN sigma values
Of course, these should never happen.
parent
b2e7a864
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/merge.c
View file @
f504be5b
...
...
@@ -191,10 +191,11 @@ static void run_merge_job(void *vwargs, int cookie)
struct
reflection_contributions
*
c
;
if
(
get_partiality
(
refl
)
<
MIN_PART_MERGE
)
continue
;
if
(
isnan
(
get_esd_intensity
(
refl
))
)
continue
;
if
(
!
wargs
->
qargs
->
use_weak
||
ln_merge
)
{
if
(
get_intensity
(
refl
)
<
3
.
0
*
get_esd_intensity
(
refl
))
{
if
(
get_intensity
(
refl
)
<
3
.
0
*
fabs
(
get_esd_intensity
(
refl
))
)
{
continue
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment