diff --git a/source/utils/copy_array_offset.py b/source/utils/copy_array_offset.py index 5f0ad46..46e0ce4 100644 --- a/source/utils/copy_array_offset.py +++ b/source/utils/copy_array_offset.py @@ -10,6 +10,6 @@ def copy_array_offset(src: np.array, dst: np.array, offset: Point2D) -> None: :dst: destination array :offset: the offset where to copy the array """ - row, column = offset + column, row = offset width, height = src.shape dst[row:row + width, column:column + height] = src