Skip to content

Commit 02890ad

Browse files
committed
Fix namespace issues
1 parent 6630312 commit 02890ad

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

NDTensors/src/lib/BlockSparseArrays/src/abstractblocksparsearray/arraylayouts.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
using ArrayLayouts: ArrayLayouts, MemoryLayout, MulAdd
22
using BlockArrays: BlockLayout
33
using ..SparseArrayInterface: SparseLayout
4-
# TODO: Move to `NDTensors.TypeParameterAccessors`.
5-
using ..NDTensors: similartype
4+
using ..TypeParameterAccessors: similartype
65

76
function ArrayLayouts.MemoryLayout(arraytype::Type{<:BlockSparseArrayLike})
87
outer_layout = typeof(MemoryLayout(blockstype(arraytype)))

NDTensors/src/lib/BlockSparseArrays/src/abstractblocksparsearray/wrappedabstractblocksparsearray.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ using BlockArrays:
99
mortar,
1010
unblock
1111
using SplitApplyCombine: groupcount
12-
# TODO: Move to `NDTensors.TypeParameterAccessors`.
13-
using ..NDTensors: similartype
12+
using ..TypeParameterAccessors: similartype
1413

1514
const WrappedAbstractBlockSparseArray{T,N} = WrappedArray{
1615
T,N,AbstractBlockSparseArray,AbstractBlockSparseArray{T,N}

0 commit comments

Comments
 (0)