From 7382ea7ddacb6ab8d204b1b7ff3bb40d558313ba Mon Sep 17 00:00:00 2001 From: Maarten Boersma Date: Fri, 16 Jan 2026 13:40:05 +0100 Subject: [PATCH 1/2] fix #279: expliticly extract single number from numpy array to meet stricter numpy>=2.4.0 code hygiene --- compiler/base/hierarchy_layout.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/base/hierarchy_layout.py b/compiler/base/hierarchy_layout.py index 31802ee7..c56fa392 100644 --- a/compiler/base/hierarchy_layout.py +++ b/compiler/base/hierarchy_layout.py @@ -1816,9 +1816,9 @@ class layout(): # The boundary will determine the limits to the size # of the routing grid boundary = layout.measureBoundary(top_name) - # These must be un-indexed to get rid of the matrix type - ll = vector(boundary[0][0], boundary[0][1]) - ur = vector(boundary[1][0], boundary[1][1]) + # These must be un-indexed to get rid of the numpy array type + ll = vector(boundary[0][0].item(), boundary[0][1].item()) + ur = vector(boundary[1][0].item(), boundary[1][1].item()) else: ll, ur = self.bbox From e32f3164e455385904c0467798f4e8347a94d1c6 Mon Sep 17 00:00:00 2001 From: Maarten Boersma Date: Fri, 16 Jan 2026 14:58:41 +0100 Subject: [PATCH 2/2] fix typo --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index dacf53e4..e2364910 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -59,7 +59,7 @@ All unit tests should pass first. 3. Clone your repository (or use an existing cloned copy if you've already done this once): ``` - git clone https://github.com//oepnram.git + git clone https://github.com//openram.git cd openram ```