We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ba966e commit a7a860dCopy full SHA for a7a860d
NDTensors/src/lib/GradedAxes/src/fusion.jl
@@ -5,7 +5,7 @@ struct OneToOne{T} <: AbstractUnitRange{T} end
5
OneToOne() = OneToOne{Bool}()
6
Base.first(a::OneToOne) = one(eltype(a))
7
Base.last(a::OneToOne) = one(eltype(a))
8
-BlockArrays.blockaxes(g::OneToOne) = (Block.(g),)
+BlockArrays.blockaxes(g::OneToOne) = (Block.(g),) # BlockArrays default crashes for OneToOne{Bool}
9
10
# https://github.com/ITensor/ITensors.jl/blob/v0.3.57/NDTensors/src/lib/GradedAxes/src/tensor_product.jl
11
# https://en.wikipedia.org/wiki/Tensor_product
0 commit comments