Skip to content

Commit 2e57dec

Browse files
authored
[SparseArraysBase] Absorb SparseArrayDOKs (#1592)
* [SparseArraysBase] Absorb `SparseArrayDOKs` * [NDTensors] Bump to v0.3.71
1 parent 82b050f commit 2e57dec

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/BlockArraysExtensions/BlockArraysExtensions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ function view!(a::AbstractArray{<:Any,N}, index::Vararg{BlockIndexRange{1},N}) w
581581
end
582582

583583
using MacroTools: @capture
584-
using NDTensors.SparseArrayDOKs: is_getindex_expr
584+
using NDTensors.SparseArraysBase: is_getindex_expr
585585
macro view!(expr)
586586
if !is_getindex_expr(expr)
587587
error("@view must be used with getindex syntax (as `@view! a[i,j,...]`)")

src/backup/qr.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using ...SparseArrayDOKs: SparseArrayDOK
1+
using ...SparseArraysBase: SparseArrayDOK
22

33
# Check if the matrix has 1 or fewer entries
44
# per row/column.

src/blocksparsearray/blocksparsearray.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using BlockArrays: BlockArrays, Block, BlockedUnitRange, blockedrange, blocklength
22
using Dictionaries: Dictionary
3-
using ..SparseArrayDOKs: SparseArrayDOK
3+
using ..SparseArraysBase: SparseArrayDOK
44

55
# TODO: Delete this.
66
## using BlockArrays: blocks

src/blocksparsearray/defaults.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using BlockArrays: Block
22
using Dictionaries: Dictionary
3-
using ..SparseArrayDOKs: SparseArrayDOK
3+
using ..SparseArraysBase: SparseArrayDOK
44

55
# Construct the sparse structure storing the blocks
66
function default_blockdata(

test/test_basics.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ using NDTensors.BlockSparseArrays:
3131
view!
3232
using NDTensors.GPUArraysCoreExtensions: cpu
3333
using NDTensors.SparseArraysBase: stored_length
34-
using NDTensors.SparseArrayDOKs: SparseArrayDOK, SparseMatrixDOK, SparseVectorDOK
34+
using NDTensors.SparseArraysBase: SparseArrayDOK, SparseMatrixDOK, SparseVectorDOK
3535
using NDTensors.TensorAlgebra: contract
3636
using Test: @test, @test_broken, @test_throws, @testset, @inferred
3737
include("TestBlockSparseArraysUtils.jl")

0 commit comments

Comments
 (0)