Skip to content

Commit

Permalink
Merge pull request gdsfactory#1089 from gdsfactory/6183
Browse files Browse the repository at this point in the history
fix section code
  • Loading branch information
joamatab committed Jan 5, 2023
2 parents a191128 + a9bf2e5 commit e8b0e4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gdsfactory/path.py
Expand Up @@ -626,12 +626,12 @@ def transition(

if X1.cladding_layers:
sections1 += [
Section(width=X1.width + offset, layer=layer)
Section(width=X1.width + 2 * offset, layer=layer)
for offset, layer in zip(X1.cladding_offsets, X2.cladding_layers)
]
if X2.cladding_layers:
sections2 += [
Section(width=X2.width + offset, layer=layer)
Section(width=X2.width + 2 * offset, layer=layer)
for offset, layer in zip(X2.cladding_offsets, X2.cladding_layers)
]

Expand Down

0 comments on commit e8b0e4c

Please sign in to comment.