Skip to content

Commit 1855045

Browse files
committed
remove redundant isless
1 parent 4cb7874 commit 1855045

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

NDTensors/src/lib/Sectors/src/category_product.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ end
5555
category_show(io::IO, ::Int, v) = print(io, v)
5656
category_show(io::IO, k::Symbol, v) = print(io, "($k=$v,)")
5757

58-
function Base.isless(s1::C, s2::C) where {C<:CategoryProduct}
59-
return categories_isless(categories(s1), categories(s2))
60-
end
6158
function Base.isless(s1::CategoryProduct, s2::CategoryProduct)
6259
return categories_isless(categories(s1), categories(s2))
6360
end

0 commit comments

Comments
 (0)