StingraySoftware / stingray

Anything can happen in the next half hour (including spectral timing made easy)!
https://stingray.science/stingray
MIT License
166 stars 137 forks source link

Fix operation on segment when result is NaN #822

Closed matteobachetti closed 2 months ago

matteobachetti commented 2 months ago

This is a quick fix to #821

Resolve #821

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.50%. Comparing base (379ed3a) to head (16861d1).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #822 +/- ## ======================================= Coverage 96.49% 96.50% ======================================= Files 45 45 Lines 9138 9149 +11 ======================================= + Hits 8818 8829 +11 Misses 320 320 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.