From cd766a2379eff9583cdfc830a11d74e0ab594e8b Mon Sep 17 00:00:00 2001 From: Matt Fishman Date: Sat, 25 May 2024 18:05:22 -0400 Subject: [PATCH] [BlockSparseArrays] Allow more general axes (#1467) * [BlockSparseArrays] Allow more general axes * [NDTensors] Bump to v0.3.10 --- NDTensors/Project.toml | 2 +- .../BlockSparseArrays/src/blocksparsearray/blocksparsearray.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NDTensors/Project.toml b/NDTensors/Project.toml index b1a56aa106..b4e21b6198 100644 --- a/NDTensors/Project.toml +++ b/NDTensors/Project.toml @@ -1,7 +1,7 @@ name = "NDTensors" uuid = "23ae76d9-e61a-49c4-8f12-3f1a16adf9cf" authors = ["Matthew Fishman "] -version = "0.3.9" +version = "0.3.10" [deps] Accessors = "7d9f7c33-5ae7-4f3b-8dc6-eff91059b697" diff --git a/NDTensors/src/lib/BlockSparseArrays/src/blocksparsearray/blocksparsearray.jl b/NDTensors/src/lib/BlockSparseArrays/src/blocksparsearray/blocksparsearray.jl index 4ecde33381..3f563f9070 100644 --- a/NDTensors/src/lib/BlockSparseArrays/src/blocksparsearray/blocksparsearray.jl +++ b/NDTensors/src/lib/BlockSparseArrays/src/blocksparsearray/blocksparsearray.jl @@ -10,7 +10,7 @@ struct BlockSparseArray{ N, A<:AbstractArray{T,N}, Blocks<:AbstractArray{A,N}, - Axes<:NTuple{N,AbstractUnitRange{Int}}, + Axes<:Tuple{Vararg{AbstractUnitRange,N}}, } <: AbstractBlockSparseArray{T,N} blocks::Blocks axes::Axes