Skip to content

Commit 29324b3

Browse files
committed
fix for crash bug introduced in pep8 fix.
1 parent 0225205 commit 29324b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

code/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def tile_raster_images(X, img_shape, tile_shape, tile_spacing=(0, 0),
129129
if output_pixel_vals:
130130
c = 255
131131
out_array[
132-
tile_row * (H + Hs): tile_row * (H + Hs) + xsH,
132+
tile_row * (H + Hs): tile_row * (H + Hs) + H,
133133
tile_col * (W + Ws): tile_col * (W + Ws) + W
134134
] = this_img * c
135135
return out_array

0 commit comments

Comments
 (0)