jmeyers314 / batoid

c++ backed python optical raytracer
BSD 2-Clause "Simplified" License
21 stars 12 forks source link

Trap divide-by-zero with np.errstate #99

Closed jmeyers314 closed 1 year ago

jmeyers314 commented 1 year ago

Addresses #70

codecov[bot] commented 1 year ago

Codecov Report

Merging #99 (cc3720b) into main (d70a1fd) will decrease coverage by 0.04%. The diff coverage is 100.00%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/jmeyers314/batoid/pull/99/graphs/tree.svg?width=650&height=150&src=pr&token=RuhHwIrfDC&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josh+Meyers)](https://app.codecov.io/gh/jmeyers314/batoid/pull/99?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josh+Meyers) ```diff @@ Coverage Diff @@ ## main #99 +/- ## ========================================== - Coverage 88.29% 88.26% -0.04% ========================================== Files 18 18 Lines 2709 2702 -7 Branches 472 472 ========================================== - Hits 2392 2385 -7 Misses 210 210 Partials 107 107 ``` | [Files Changed](https://app.codecov.io/gh/jmeyers314/batoid/pull/99?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josh+Meyers) | Coverage Δ | | |---|---|---| | [batoid/utils.py](https://app.codecov.io/gh/jmeyers314/batoid/pull/99?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josh+Meyers#diff-YmF0b2lkL3V0aWxzLnB5) | `98.37% <100.00%> (-0.06%)` | :arrow_down: | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/jmeyers314/batoid/pull/99?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josh+Meyers). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josh+Meyers) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/jmeyers314/batoid/pull/99?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josh+Meyers). Last update [d70a1fd...cc3720b](https://app.codecov.io/gh/jmeyers314/batoid/pull/99?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josh+Meyers). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Josh+Meyers).