Closed mtsokol closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
25afb3f
) 75.84% compared to head (2d2e61b
) 75.88%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
LGTM! @mtsokol I'll push a release too
Addressing #427
Hi @willow-ahrens,
This PR adds specialized
getindex
andto_indices
forTensor
andSwizzleArray
, to enable list indexing for 1D objects. There's no need to check whetherTensor
/SwizzleArray
is 1D here, because indexing +2DTensor
with a list/vector results inAssertionError: ndims(arr) == length(inds)
.