Skip to content

Commit

Permalink
Don't make unnecessary copy
Browse files Browse the repository at this point in the history
  • Loading branch information
wmvanvliet committed Feb 4, 2025
1 parent 5108607 commit e243310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mne/viz/evoked_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ def _prepare_surf_map(self, surf_map, color, alpha):
current_data = data_interp(self._current_time)

# Make a solid surface
surf = deepcopy(surf_map["surf"])
if self._units == "mm":
surf = deepcopy(surf_map["surf"])
surf["rr"] *= 1000
map_vmax = self._vmax.get(surf_map["kind"])
if map_vmax is None:
Expand Down

0 comments on commit e243310

Please sign in to comment.