Skip to content

Commit

Permalink
add commennt
Browse files Browse the repository at this point in the history
  • Loading branch information
ogauthe committed Oct 3, 2024
1 parent 3ba966e commit a7a860d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NDTensors/src/lib/GradedAxes/src/fusion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ struct OneToOne{T} <: AbstractUnitRange{T} end
OneToOne() = OneToOne{Bool}()
Base.first(a::OneToOne) = one(eltype(a))
Base.last(a::OneToOne) = one(eltype(a))
BlockArrays.blockaxes(g::OneToOne) = (Block.(g),)
BlockArrays.blockaxes(g::OneToOne) = (Block.(g),) # BlockArrays default crashes for OneToOne{Bool}

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

0 comments on commit a7a860d

Please sign in to comment.