diff --git a/NDTensors/src/lib/BlockSparseArrays/ext/BlockSparseArraysGradedAxesExt/test/runtests.jl b/NDTensors/src/lib/BlockSparseArrays/ext/BlockSparseArraysGradedAxesExt/test/runtests.jl index 585dbb5afe..1bc47b330b 100644 --- a/NDTensors/src/lib/BlockSparseArrays/ext/BlockSparseArraysGradedAxesExt/test/runtests.jl +++ b/NDTensors/src/lib/BlockSparseArrays/ext/BlockSparseArraysGradedAxesExt/test/runtests.jl @@ -15,6 +15,7 @@ using NDTensors.GradedAxes: isdual using NDTensors.LabelledNumbers: label using NDTensors.SparseArrayInterface: nstored +using NDTensors.SymmetrySectors: U1 using NDTensors.TensorAlgebra: fusedims, splitdims using LinearAlgebra: adjoint using Random: randn! @@ -26,13 +27,6 @@ function blockdiagonal!(f, a::AbstractArray) return a end -struct U1 - n::Int -end -GradedAxes.dual(c::U1) = U1(-c.n) -GradedAxes.fuse_labels(c1::U1, c2::U1) = U1(c1.n + c2.n) -Base.isless(c1::U1, c2::U1) = isless(c1.n, c2.n) - const elts = (Float32, Float64, Complex{Float32}, Complex{Float64}) @testset "BlockSparseArraysGradedAxesExt (eltype=$elt)" for elt in elts @testset "map" begin