diff options
author | Eddie Hung <eddieh@ece.ubc.ca> | 2018-11-14 17:58:16 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-14 17:58:16 -0800 |
commit | d3b2065cd7d2470a132c055f4bd88d270e1e8fe1 (patch) | |
tree | 7b014d137f73fb51a15e0faba7e73f1426f4996c /common/nextpnr.h | |
parent | 42d1990784b95710e16d3892399262877ab18502 (diff) | |
parent | df2622d30014d6c7fc0dfc3b440688ab22331ba2 (diff) | |
download | nextpnr-d3b2065cd7d2470a132c055f4bd88d270e1e8fe1.tar.gz nextpnr-d3b2065cd7d2470a132c055f4bd88d270e1e8fe1.tar.bz2 nextpnr-d3b2065cd7d2470a132c055f4bd88d270e1e8fe1.zip |
Merge pull request #114 from YosysHQ/fix_legalise
Fix legalise
Diffstat (limited to 'common/nextpnr.h')
-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 |