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 0790c15 commit 0f4c07a
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 @@ -15,6 +15,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 @@ -1559,7 +1559,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 0f4c07a

Please sign in to comment.