Skip to content

Commit

Permalink
fixing #449
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Feb 22, 2012
1 parent 3458255 commit efc9e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion j/operators.j
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ isequal(x,y) = is(x,y)
# these definitions allow Number types to implement
# == and < instead of isequal and isless, which is more idiomatic:
isequal(x::Number, y::Number) = x==y
isless(x::Number, y::Number) = x<y
isless(x::Real, y::Real) = x<y

max(x,y) = x > y ? x : y
min(x,y) = x < y ? x : y
Expand Down

0 comments on commit efc9e4a

Please sign in to comment.