mirror of https://github.com/VLSIDA/OpenRAM.git
Merge pull request #280 from Aurora7913/issue279
Fix compatibility with numpy>=2.4.0
This commit is contained in:
commit
c99b134deb
|
|
@ -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/<youruser>/oepnram.git
|
||||
git clone https://github.com/<youruser>/openram.git
|
||||
cd openram
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue