We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0de5fe5 commit 6b218f8Copy full SHA for 6b218f8
base/sort.jl
@@ -1486,8 +1486,12 @@ right(::DirectOrdering) = Right()
1486
left(o::Perm) = Perm(left(o.order), o.data)
1487
right(o::Perm) = Perm(right(o.order), o.data)
1488
1489
-lt(::Left, x::T, y::T)::Bool where {T<:Floats} = slt_int(y, x)
1490
-lt(::Right, x::T, y::T)::Bool where {T<:Floats} = slt_int(x, y)
+function lt(::Left, x::T, y::T)::Bool where {T<:Floats}
+ slt_int(y, x)
1491
+end
1492
+function lt(::Right, x::T, y::T)::Bool where {T<:Floats}
1493
+ slt_int(x, y)
1494
1495
1496
uint_map(x::Float16, ::Left) = ~reinterpret(UInt16, x)
1497
uint_unmap(::Type{Float16}, u::UInt16, ::Left) = reinterpret(Float16, ~u)
0 commit comments