From 1bf202adcd1028035dc28a723666fc424ceb6831 Mon Sep 17 00:00:00 2001 From: gatecat Date: Thu, 6 May 2021 12:23:28 +0100 Subject: base_arch: Fix typo in getClusterPlacement Signed-off-by: gatecat --- common/base_arch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/base_arch.h b/common/base_arch.h index 8ed77790..e9cc8cf0 100644 --- a/common/base_arch.h +++ b/common/base_arch.h @@ -428,7 +428,7 @@ template struct BaseArch : ArchAPI return result; }); BelId child_bel = this->getBelByLocation(child_loc); - if (child_bel == BelId() || !this->isValidBelForCellType(child->type, root_bel)) + if (child_bel == BelId() || !this->isValidBelForCellType(child->type, child_bel)) return false; placement.emplace_back(child, child_bel); } -- cgit v1.2.3