21cmfast / 21cmFAST

Official repository for 21cmFAST: a code for generating fast simulations of the cosmological 21cm signal
MIT License
58 stars 38 forks source link

fix out-of-bounds access in TF_CLASS #421

Closed daviesje closed 3 months ago

daviesje commented 3 months ago

There was an out-of-bounds array access in the TF_CLASS interpolations. I don't think this was ever actually tripped but I found it during the c-restructure since we can actually get good compiler warnings now.

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 82.19%. Comparing base (184dd95) to head (2414803). Report is 9 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #421 +/- ## ======================================= Coverage 82.19% 82.19% ======================================= Files 13 13 Lines 3140 3140 Branches 854 854 ======================================= Hits 2581 2581 Misses 400 400 Partials 159 159 ```

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