Skip to content

Commit

Permalink
Small fix, bumping version to 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
momchil-flex committed Apr 28, 2022
1 parent 14dea0e commit 502512f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tidy3d/components/grid/mesher.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def parse_structures(
struct_contains.append(self.contains_2d(bbox, struct_bbox[:struct_ind]))

# Figure out where to place the bounding box coordinates of current structure
indsmin = np.argwhere(bbox[0, 2] < interval_coords)
indsmin = np.argwhere(bbox[0, 2] <= interval_coords)
indmin = int(indsmin[0])
bbox0 = np.copy(bbox)
bbox0[1, 2] = bbox0[0, 2]
Expand All @@ -119,7 +119,7 @@ def parse_structures(
struct_list = interval_structs[max(0, indmin - 1)]
interval_structs.insert(indmin, struct_list.copy())

indsmax = np.argwhere(bbox[1, 2] > interval_coords)
indsmax = np.argwhere(bbox[1, 2] >= interval_coords)
indmax = int(indsmax[-1])
bbox0 = np.copy(bbox)
bbox0[0, 2] = bbox0[1, 2]
Expand Down
2 changes: 1 addition & 1 deletion tidy3d/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Defines the front end version of tidy3d"""

__version__ = "1.3.0"
__version__ = "1.3.1"

0 comments on commit 502512f

Please sign in to comment.