Infinities.jl icon indicating copy to clipboard operation
Infinities.jl copied to clipboard

to_index for RealInfinity

Open jishnub opened this issue 1 year ago • 1 comments

Since RealInfinity is being used as an index in https://github.com/JuliaArrays/InfiniteArrays.jl/blob/e323a66574662ae4b171cd8fc6822ad79e27ea8c/src/infarrays.jl#L119-L120, it makes sense to define to_index for it instead of extending getindex.

jishnub avatar Dec 12 '23 12:12 jishnub

Codecov Report

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

Comparison is base (8580d78) 99.19% compared to head (bc014ed) 92.99%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #52      +/-   ##
==========================================
- Coverage   99.19%   92.99%   -6.20%     
==========================================
  Files           2        2              
  Lines         373      357      -16     
==========================================
- Hits          370      332      -38     
- Misses          3       25      +22     

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

codecov[bot] avatar Dec 12 '23 12:12 codecov[bot]