diff options
author | Eddie Hung <eddieh@ece.ubc.ca> | 2018-11-13 16:01:30 -0800 |
---|---|---|
committer | Eddie Hung <eddieh@ece.ubc.ca> | 2018-11-13 16:33:01 -0800 |
commit | 6527e3b6aedf399f2eff5244bff78da0c08f82a6 (patch) | |
tree | d0a7eb03875911c4d92a5d51504339106ebae3bb /common | |
parent | 519bcd31bfe076ff0d89ed1d2ec832ec140f58a2 (diff) | |
download | nextpnr-6527e3b6aedf399f2eff5244bff78da0c08f82a6.tar.gz nextpnr-6527e3b6aedf399f2eff5244bff78da0c08f82a6.tar.bz2 nextpnr-6527e3b6aedf399f2eff5244bff78da0c08f82a6.zip |
[common] Fix typo in Loc::operator!=()
Diffstat (limited to 'common')
-rw-r--r-- | common/nextpnr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/nextpnr.h b/common/nextpnr.h index 86e781ae..4434c438 100644 --- a/common/nextpnr.h +++ b/common/nextpnr.h @@ -191,7 +191,7 @@ struct Loc Loc(int x, int y, int z) : x(x), y(y), z(z) {} bool operator==(const Loc &other) const { return (x == other.x) && (y == other.y) && (z == other.z); } - bool operator!=(const Loc &other) const { return (x != other.x) || (y != other.y) || (z == other.z); } + bool operator!=(const Loc &other) const { return (x != other.x) || (y != other.y) || (z != other.z); } }; NEXTPNR_NAMESPACE_END |