diff options
Diffstat (limited to 'ice40/archdefs.h')
-rw-r--r-- | ice40/archdefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/archdefs.h b/ice40/archdefs.h index 07b209f1..87924df0 100644 --- a/ice40/archdefs.h +++ b/ice40/archdefs.h @@ -97,7 +97,7 @@ struct GroupId int8_t x = 0, y = 0; bool operator==(const GroupId &other) const { return (type == other.type) && (x == other.x) && (y == other.y); } - bool operator!=(const GroupId &other) const { return (type != other.type) || (x != other.x) || (y == other.y); } + bool operator!=(const GroupId &other) const { return (type != other.type) || (x != other.x) || (y != other.y); } unsigned int hash() const { return mkhash(mkhash(x, y), int(type)); } }; |