@@ -5,7 +5,7 @@ using LinearAlgebra.BLAS
5
5
6
6
using Base: AbstractCartesianIndex, OneTo, oneto, RangeIndex, ReinterpretArray, ReshapedArray,
7
7
Slice, tuple_type_tail, unalias,
8
- @propagate_inbounds , @_propagate_inbounds_meta
8
+ @propagate_inbounds
9
9
10
10
import Base: axes, size, length, eltype, ndims, first, last, diff, isempty, union, sort!,
11
11
== , * , + , - , / , \ , copy, copyto!, similar, getproperty, getindex, strides,
@@ -132,8 +132,7 @@ copy(A::SubArray{<:Any,N,<:LayoutArray}) where N = sub_materialize(A)
132
132
copy (A:: SubArray{<:Any,N,<:AdjOrTrans{<:Any,<:LayoutArray}} ) where N = sub_materialize (A)
133
133
134
134
@inline layout_getindex (A, I... ) = sub_materialize (view (A, I... ))
135
- function layout_getindex (A:: AbstractArray , k:: Int... )
136
- @_propagate_inbounds_meta
135
+ @propagate_inbounds function layout_getindex (A:: AbstractArray , k:: Int... )
137
136
Base. error_if_canonical_getindex (IndexStyle (A), A, k... )
138
137
Base. _getindex (IndexStyle (A), A, k... )
139
138
end
0 commit comments