Skip to content

Commit

Permalink
Fix for #1778
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Heitzmann Gabrielli <lucas@flexcompute.com>
  • Loading branch information
lucas-flexcompute committed Jun 20, 2024
1 parent 69ac517 commit e5b67c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed
- Bug where boundary layers would be plotted too small in 2D simulations.
- Bug when plotting transformed geometries.

## [2.7.0] - 2024-06-17

Expand Down
2 changes: 1 addition & 1 deletion tidy3d/components/geometry/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1569,7 +1569,7 @@ def intersections_tilted_plane(
kwargs = {coord: origin[axis]}
section = self.intersections_plane(**kwargs)
# Apply transformation in the plane by removing row and column
to_2D_in_plane = np.delete(np.delete(to_2D, axis, 0), axis, 1)
to_2D_in_plane = np.delete(np.delete(to_2D, 2, 0), axis, 1)

def transform(p_array):
return np.dot(
Expand Down

0 comments on commit e5b67c5

Please sign in to comment.