aboutsummaryrefslogtreecommitdiffstats
path: root/common/nextpnr.h
diff options
context:
space:
mode:
authorEddie Hung <eddieh@ece.ubc.ca>2018-11-14 17:58:16 -0800
committerGitHub <noreply@github.com>2018-11-14 17:58:16 -0800
commitd3b2065cd7d2470a132c055f4bd88d270e1e8fe1 (patch)
tree7b014d137f73fb51a15e0faba7e73f1426f4996c /common/nextpnr.h
parent42d1990784b95710e16d3892399262877ab18502 (diff)
parentdf2622d30014d6c7fc0dfc3b440688ab22331ba2 (diff)
downloadnextpnr-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.h2
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