mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-02-04 23:54:53 +00:00
Merge pull request #1035 from tyler274/patch-1
Correct Not Equal operator implementation in ice40
This commit is contained in:
@@ -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)); }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user