File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -918,7 +918,10 @@ struct _NonExtruded28126{T}
918
918
x:: T
919
919
end
920
920
@inline axes (b:: _NonExtruded28126 ) = axes (b. x)
921
- Base. @propagate_inbounds _broadcast_getindex (b:: _NonExtruded28126 , i) = b. x[i]
921
+ Base. @propagate_inbounds _broadcast_getindex (b:: _NonExtruded28126 , i) = _broadcast_getindex (b, i)
922
+ Base. @propagate_inbounds _broadcast_getindex (b:: _NonExtruded28126{<:AbstractArray{<:Any,0}} , i) = b. x[]
923
+ Base. @propagate_inbounds _broadcast_getindex (b:: _NonExtruded28126{<:AbstractVector} , i) = b. x[i[1 ]]
924
+ Base. @propagate_inbounds _broadcast_getindex (b:: _NonExtruded28126{<:AbstractArray} , i) = b. x[i]
922
925
_nonextrude_28126 (x:: AbstractArray ) = _NonExtruded28126 (x)
923
926
_nonextrude_28126 (x) = x
924
927
You can’t perform that action at this time.
0 commit comments