diff --git a/mantidimaging/core/gpu/utility.py b/mantidimaging/core/gpu/utility.py index 12b34f20c7b..912b5bc58d5 100644 --- a/mantidimaging/core/gpu/utility.py +++ b/mantidimaging/core/gpu/utility.py @@ -158,7 +158,7 @@ def _create_block_and_grid_args(data: cp.ndarray): return block_size, grid_size -def _create_padded_array(data: np.ndarray, filter_size: int, scipy_mode: str) -> np.ndarray: +def _create_padded_array(data, filter_size, scipy_mode): """ Creates the padded array on the CPU for the median filter. :param data: The data array to be padded.