From 507329b7fc7ec5961019accd54269317762b5189 Mon Sep 17 00:00:00 2001 From: Tamas Gal <himself@tamasgal.com> Date: Fri, 13 Oct 2023 10:26:02 +0200 Subject: [PATCH] Fix ordering of Locations --- src/hardware.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware.jl b/src/hardware.jl index b4149610..8e7c1618 100644 --- a/src/hardware.jl +++ b/src/hardware.jl @@ -27,7 +27,7 @@ struct Location string::Int32 floor::Int8 end -Base.isless(lhs::Location, rhs::Location) = lhs.string < rhs.string || lhs.floor < rhs.floor +Base.isless(lhs::Location, rhs::Location) = lhs.string < rhs.string && lhs.floor < rhs.floor """ -- GitLab