Skip to content

Commit

Permalink
remove gradedisequal(::OneToOne)
Browse files Browse the repository at this point in the history
  • Loading branch information
ogauthe committed Sep 16, 2024
1 parent f016ba1 commit fbf0734
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions NDTensors/src/lib/GradedAxes/src/fusion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ OneToOne() = OneToOne{Bool}()
Base.first(a::OneToOne) = one(eltype(a))
Base.last(a::OneToOne) = one(eltype(a))

gradedisequal(::AbstractUnitRange, ::OneToOne) = false
gradedisequal(::OneToOne, ::AbstractUnitRange) = false
gradedisequal(::OneToOne, ::OneToOne) = true

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

0 comments on commit fbf0734

Please sign in to comment.