Skip to content

Commit b5aea68

Browse files
authored
prevent adding methods to the functions > and >= (#1143)
1 parent 26280f2 commit b5aea68

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/MathProg/vcids.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ Base.convert(::Type{Int32}, id::I) where {I<:Id} = id.uid
8181
Base.:(<)(a::Id{VC}, b::Id{VC}) where {VC} = a.uid < b.uid
8282
Base.:(<=)(a::Id{VC}, b::Id{VC}) where {VC} = a.uid <= b.uid
8383
Base.:(==)(a::Id{VC}, b::Id{VC}) where {VC} = a.uid == b.uid
84-
Base.:(>)(a::Id{VC}, b::Id{VC}) where {VC} = a.uid > b.uid
85-
Base.:(>=)(a::Id{VC}, b::Id{VC}) where {VC} = a.uid >= b.uid
8684

8785
ClB.getuid(id::Id) = id.uid # TODO: change name
8886
getduty(vcid::Id{VC}) where {VC} = vcid.duty

0 commit comments

Comments
 (0)