negate the output of location_set:empty, fixing logic error and

ensuring that a boolean value is returned
This commit is contained in:
Chris Beck 2014-02-16 19:36:09 -05:00
parent ae3697d4e8
commit 9fb47d7f1f

View file

@ -15,7 +15,7 @@ local methods = {}
local locset_meta = { __index = methods }
function methods:empty()
return next(self.values)
return (not next(self.values))
end
function methods:size()