fixed a bug where the x and y where inverted in the board class
This commit is contained in:
parent
be138594df
commit
b9e087d1fd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue