rafaqz / DimensionalData.jl

Named dimensions and indexing for julia arrays and other data
https://rafaqz.github.io/DimensionalData.jl/stable/
MIT License
263 stars 38 forks source link

Reverse along all dimensions by default #623

Closed nchisholm closed 4 months ago

nchisholm commented 5 months ago

Fixes #622.

Changes reverse(::AbstractDimArray) to reverse along all dimensions instead of just the first one. Equivalently, a : may be passed to the dims argument and is the new default. This behavior is consistent with what happens for a plain AbstractArray.

codecov-commenter commented 4 months ago

Codecov Report

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

Comparison is base (f9a7457) 86.80% compared to head (75c1809) 86.82%.

:exclamation: Current head 75c1809 differs from pull request most recent head fe48f21. Consider uploading reports for the commit fe48f21 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #623 +/- ## ========================================== + Coverage 86.80% 86.82% +0.01% ========================================== Files 44 44 Lines 3669 3674 +5 ========================================== + Hits 3185 3190 +5 Misses 484 484 ```

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