Skip to content

Commit 9f08f3a

Browse files
authored
Avoid define > and >=. (#854)
`Base` has a general fallback which map `>=` to `<=` (and `>` to `<`).
1 parent 74bc092 commit 9f08f3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/statmodels.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ TestStat(x::TestStat) = x
8585

8686
float(x::Union{TestStat, PValue}) = float(x.v)
8787

88-
for op in [:(==), :<, :, :>, :, :(isless), :(isequal)] # isless and < to place nice with NaN
88+
for op in [:(==), :<, :, :(isless), :(isequal)] # isless and < to place nice with NaN
8989
@eval begin
9090
Base.$op(x::Union{TestStat, PValue}, y::Real) = $op(x.v, y)
9191
Base.$op(y::Real, x::Union{TestStat, PValue}) = $op(y, x.v)

0 commit comments

Comments
 (0)