rafaqz / DimensionalData.jl

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

Breaking: Stack rand #567

Closed rafaqz closed 6 months ago

rafaqz commented 9 months ago

add a rand method for DimStack

This is a breaking change because it required fixes to eltype (which previously made no sense - a constructed NamedTuple of types rather than a Type{NamedTuple})

This PR also fixes a bug in linear indexing with mixed size layers.

codecov-commenter commented 7 months ago

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (d927b77) 87.23% compared to head (6e45fef) 87.17%.

Files Patch % Lines
src/stack/indexing.jl 85.71% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #567 +/- ## ========================================== - Coverage 87.23% 87.17% -0.06% ========================================== Files 43 43 Lines 3446 3471 +25 ========================================== + Hits 3006 3026 +20 - Misses 440 445 +5 ```

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