Skip to content

Commit

Permalink
Remove array copy, seems to be unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
CPBridge committed Jul 27, 2023
1 parent 378c740 commit be6963b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/highdicom/seg/sop.py
Original file line number Diff line number Diff line change
Expand Up @@ -1577,7 +1577,7 @@ def __init__(
# future to the list for encapsulation at the end
future = process_pool.submit(
encode_frame,
array=segment_array[plane_index].copy(),
array=segment_array[plane_index],
**encode_frame_kwargs,
)
frame_futures_list.append(future)
Expand Down

0 comments on commit be6963b

Please sign in to comment.