Skip to content

Commit 08b0456

Browse files
authored
Merge pull request #289 from nsajko/prevent_adding_methods_fix
prevent adding methods to the functions `>` and `>=`
2 parents 9ea899b + 9364f7c commit 08b0456

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/graph_engine.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -917,12 +917,8 @@ function Base.:(==)(left::VariableRef, right)
917917
end
918918
Base.:(==)(left, right::VariableRef) = right == left
919919

920-
Base.:(>)(left::VariableRef, right) = left == right
921-
Base.:(>)(left, right::VariableRef) = left == right
922920
Base.:(<)(left::VariableRef, right) = left == right
923921
Base.:(<)(left, right::VariableRef) = left == right
924-
Base.:(>=)(left::VariableRef, right) = left == right
925-
Base.:(>=)(left, right::VariableRef) = left == right
926922
Base.:(<=)(left::VariableRef, right) = left == right
927923
Base.:(<=)(left, right::VariableRef) = left == right
928924

0 commit comments

Comments
 (0)