Skip to content

Commit a7a860d

Browse files
committed
add commennt
1 parent 3ba966e commit a7a860d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NDTensors/src/lib/GradedAxes/src/fusion.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ struct OneToOne{T} <: AbstractUnitRange{T} end
55
OneToOne() = OneToOne{Bool}()
66
Base.first(a::OneToOne) = one(eltype(a))
77
Base.last(a::OneToOne) = one(eltype(a))
8-
BlockArrays.blockaxes(g::OneToOne) = (Block.(g),)
8+
BlockArrays.blockaxes(g::OneToOne) = (Block.(g),) # BlockArrays default crashes for OneToOne{Bool}
99

1010
# https://github.com/ITensor/ITensors.jl/blob/v0.3.57/NDTensors/src/lib/GradedAxes/src/tensor_product.jl
1111
# https://en.wikipedia.org/wiki/Tensor_product

0 commit comments

Comments
 (0)