We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33ab8e7 commit 6efb112Copy full SHA for 6efb112
base/multidimensional.jl
@@ -431,7 +431,7 @@ module IteratorsMD
431
simd_inner_length(iter::CartesianIndices, I::CartesianIndex) = Base.length(iter.indices[1])
432
433
simd_index(iter::CartesianIndices{0}, ::CartesianIndex, I1::Int) = first(iter)
434
- @inline function simd_index(iter::CartesianIndices, Ilast::CartesianIndex, I1::Int)
+ @propagate_inbounds function simd_index(iter::CartesianIndices, Ilast::CartesianIndex, I1::Int)
435
CartesianIndex(getindex(iter.indices[1], I1+first(Base.axes1(iter.indices[1]))), Ilast.I...)
436
end
437
0 commit comments