Closed hmcezar closed 6 months ago
Attention: 3 lines
in your changes are missing coverage. Please review.
Comparison is base (
5cbb885
) 84.09% compared to head (7b4b946
) 84.08%.:exclamation: Current head 7b4b946 differs from pull request most recent head 4126b19. Consider uploading reports for the commit 4126b19 to get more accurate results
Files | Patch % | Lines |
---|---|---|
src/isdb/SAXS.cpp | 76.92% | 3 Missing :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@hmcezar sorry I merged and reverted it because you should target v2.9 if you want this to appear there
@carlocamilloni I think it was my mistake. The current 2.9 does not have the "old" implementation of the resolution function and your most recent fixes. I think it's better if it goes to master
to be consistent with what we already have. Should I create another PR?
ok, I have reverted the revert, not the best but it is done
Thank you! And sorry for the mess. My bad.
Description
The way the resolution function was computed in the SAXS/SANS action could lead to some numerical issues due to computing the modified Bessel function with a large argument. This could cause some
inf
andNaN
depending on the sigmas and qs.I have fixed this issue by implementing the cephes function
i0e
, which computesI_0(x) exp(-x)
and is less prone to overflow.Target release
I would like my code to appear in release 2.9
Type of contribution
Copyright
COPYRIGHT
file with the correct license information. Code should be released under an open source license. I also used the commandcd src && ./header.sh mymodulename
in order to make sure the headers of the module are correct.Tests