Skip to content

Commit 30a9a74

Browse files
move Base imports
1 parent c36da66 commit 30a9a74

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/ArrayInterfaceCore/src/ArrayInterfaceCore.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ using LinearAlgebra: AbstractTriangular
55
using SparseArrays
66
using SuiteSparse
77

8-
using Base.Cartesian
9-
using Base: @propagate_inbounds, tail, OneTo, LogicalIndex, Slice, ReinterpretArray,
10-
ReshapedArray, AbstractCartesianIndex
11-
12-
using Base.Iterators: Pairs
13-
148
@static if isdefined(Base, :ReshapedReinterpretArray)
159
_is_reshaped(::Type{<:Base.ReshapedReinterpretArray}) = true
1610
end

src/ArrayInterface.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ using Static: Zero, One, nstatic, eq, ne, gt, ge, lt, le, eachop, eachop_tuple,
2222

2323
using IfElse
2424

25+
using Base.Cartesian
26+
using Base: @propagate_inbounds, tail, OneTo, LogicalIndex, Slice, ReinterpretArray,
27+
ReshapedArray, AbstractCartesianIndex
28+
29+
using Base.Iterators: Pairs
30+
2531
const CanonicalInt = Union{Int,StaticInt}
2632
canonicalize(x::Integer) = Int(x)
2733
canonicalize(@nospecialize(x::StaticInt)) = x

0 commit comments

Comments
 (0)