File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ def parse_structures(
108108 struct_contains .append (self .contains_2d (bbox , struct_bbox [:struct_ind ]))
109109
110110 # Figure out where to place the bounding box coordinates of current structure
111- indsmin = np .argwhere (bbox [0 , 2 ] < interval_coords )
111+ indsmin = np .argwhere (bbox [0 , 2 ] <= interval_coords )
112112 indmin = int (indsmin [0 ])
113113 bbox0 = np .copy (bbox )
114114 bbox0 [1 , 2 ] = bbox0 [0 , 2 ]
@@ -119,7 +119,7 @@ def parse_structures(
119119 struct_list = interval_structs [max (0 , indmin - 1 )]
120120 interval_structs .insert (indmin , struct_list .copy ())
121121
122- indsmax = np .argwhere (bbox [1 , 2 ] > interval_coords )
122+ indsmax = np .argwhere (bbox [1 , 2 ] >= interval_coords )
123123 indmax = int (indsmax [- 1 ])
124124 bbox0 = np .copy (bbox )
125125 bbox0 [0 , 2 ] = bbox0 [1 , 2 ]
Original file line number Diff line number Diff line change 11"""Defines the front end version of tidy3d"""
22
3- __version__ = "1.3.0 "
3+ __version__ = "1.3.1 "
You can’t perform that action at this time.
0 commit comments