Skip to content

Commit 619b694

Browse files
authored
Merge branch 'main' into permutedims
2 parents 3a35d8d + 0f5ee4c commit 619b694

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ WignerSymbols = "9f57e263-0b3d-5e2e-b1be-24f2bb48858b"
2020

2121
[compat]
2222
Accessors = "0.1.42"
23-
BlockArrays = "1.6"
23+
BlockArrays = "1.7"
2424
BlockSparseArrays = "0.7.4"
2525
GradedArrays = "0.4.14"
2626
HalfIntegers = "1.6"

src/fusiontensor/fusiontensor.jl

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@ using TensorProducts: tensor_product
2727
using TypeParameterAccessors: type_parameters
2828

2929
# ======================================= Misc ===========================================
30-
31-
function to_blockindexrange(b1::BlockIndexRange{1}, b2::BlockIndexRange{1})
32-
t = (b1, b2)
33-
return Block(Block.(t))[to_block_indices.(t)...]
34-
end
35-
3630
function flip_domain(nonflipped_col_axis, nonflipped_trees_to_ranges)
3731
col_axis = dual(nonflipped_col_axis)
3832
domain_trees_to_ranges_mapping = Dict(
@@ -93,7 +87,7 @@ function intersect_codomain_domain(
9387
Iterators.product(codomain_trees_to_ranges_mapping, domain_trees_to_ranges_mapping),
9488
),
9589
) do t
96-
return first.(t) => to_blockindexrange(last.(t)...)
90+
return first.(t) => BlockIndexRange(last.(t))
9791
end,
9892
)
9993
end

0 commit comments

Comments
 (0)