[gdsii] explicitly cast cap_extensions to int
This commit is contained in:
parent
5eb460ecb7
commit
f42114bf43
1 changed files with 1 additions and 1 deletions
|
|
@ -453,7 +453,7 @@ def _shapes_to_elements(
|
||||||
|
|
||||||
extension: tuple[int, int]
|
extension: tuple[int, int]
|
||||||
if shape.cap == Path.Cap.SquareCustom and shape.cap_extensions is not None:
|
if shape.cap == Path.Cap.SquareCustom and shape.cap_extensions is not None:
|
||||||
extension = tuple(shape.cap_extensions) # type: ignore
|
extension = tuple(rint_cast(shape.cap_extensions))
|
||||||
else:
|
else:
|
||||||
extension = (0, 0)
|
extension = (0, 0)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue