Skip to content

Commit

Permalink
blocked reproj whitespace fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AlistairSymonds committed Aug 26, 2022
1 parent dbd4437 commit e7f9e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reproject/interpolation/high_level.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def reproject_interp(input_data, output_projection, shape_out=None, hdu_in=0,
if parallel is not False and block_size is None:
block_size = shape_out.copy()
# each thread gets an equal sized strip of output area to process
block_size[0] = shape_out[0] // os.cpu_count()
block_size[0] = shape_out[0] // os.cpu_count()

# given we have cases where modern system have many cpu cores some sanity clamping is
# to avoid 0 length block sizes when num_cpu_cores is greater than the side of the image
Expand Down

0 comments on commit e7f9e4a

Please sign in to comment.