Skip to content
Snippets Groups Projects
Verified Commit 507329b7 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix ordering of Locations

parent 8d33f957
No related branches found
No related tags found
No related merge requests found
......@@ -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
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment