Skip to content

Commit

Permalink
fix for SiEPIC.utils.layout.coupler_array()
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasc-ubc committed Oct 31, 2024
1 parent 3989cc8 commit d2a5658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion klayout_dot_config/python/SiEPIC/utils/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -1409,7 +1409,7 @@ def coupler_array(cell,

inst_couplers = []
for i in range(count):
t = Trans(Trans.R0, x_offset, y_offset + (count-i)*pitch)
t = Trans(Trans.R0, x_offset, y_offset + (count-i-1)*pitch)
inst_couplers.append(
cell.insert(CellInstArray(cell_coupler.cell_index(), t))
)
Expand Down

0 comments on commit d2a5658

Please sign in to comment.