Closed
Description
Recent discussion in ArrayInterface.jl demonstrated that @inbounds
isn't fully propagated when using CartesianIndices
to convert an integer to a CartesianIndex
.
Examples across multiple versions and hardware are more fully demonstrated here JuliaArrays/ArrayInterface.jl#199).
I think the offending line is the missing @propagate_inbounds
here:
Line 1254 in 027071f
This could probably be fixed here also:
Line 1242 in 027071f
I think @timholy and @mbauman wrote the original code here.
Can we just put @propagate_inbounds
in front of these?
Metadata
Metadata
Assignees
Labels
No labels