Skip to content

Commit f1ded04

Browse files
committed
Remove useless specialized comparison methods
1 parent 12bc2eb commit f1ded04

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/normed.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,6 @@ abs(x::Normed) = x
239239
*(x::T, y::T) where {T <: Normed} = convert(T,convert(floattype(T), x)*convert(floattype(T), y))
240240
/(x::T, y::T) where {T <: Normed} = convert(T,convert(floattype(T), x)/convert(floattype(T), y))
241241

242-
# Comparisons
243-
<(x::T, y::T) where {T <: Normed} = reinterpret(x) < reinterpret(y)
244-
<=(x::T, y::T) where {T <: Normed} = reinterpret(x) <= reinterpret(y)
245-
246242
# Functions
247243
trunc(x::T) where {T <: Normed} = T(div(reinterpret(x), rawone(T))*rawone(T),0)
248244
floor(x::T) where {T <: Normed} = trunc(x)

0 commit comments

Comments
 (0)