Skip to content

Commit 2f24e48

Browse files
committed
fixed a bug introduced when I renamed "pop_axis()" to "pop_axis_and_swap()"
1 parent cdb8a9e commit 2f24e48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tidy3d/components/geometry/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def intersections_plane(
265265
normal = self.unpop_axis(1, (0, 0), axis=axis)
266266
to_2D = np.eye(4)
267267
if axis != 2:
268-
last, indices = self.pop_axis((0, 1, 2), axis, swap_axes=swap_axes)
268+
last, indices = self.pop_axis_and_swap((0, 1, 2), axis, swap_axes=swap_axes)
269269
to_2D = to_2D[[*list(indices), last, 3]]
270270
return self.intersections_tilted_plane(normal, origin, to_2D)
271271

0 commit comments

Comments
 (0)