Skip to content

Commit 08d42fb

Browse files
committed
copy for colocation points
1 parent 6509728 commit 08d42fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tidy3d/components/field_projection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def _resample_surface_currents(
331331
coord_list[idx][-1],
332332
)
333333
if pts_per_wavelength is None:
334-
points = sim_data.simulation.grid.boundaries.to_list[idx]
334+
points = sim_data.simulation.grid.boundaries.to_list[idx].copy()
335335
points[np.argwhere(points < start)] = start
336336
points[np.argwhere(points > stop)] = stop
337337
colocation_points[idx] = np.unique(points)

0 commit comments

Comments
 (0)