Commit 2d5f93be authored by Frisinghelli Daniel's avatar Frisinghelli Daniel
Browse files

Consistent data-type when reshaping.

parent 755d39c0
......@@ -791,7 +791,7 @@ def reconstruct_scene(tiles):
topleft = tile_topleft_corner(img_size, tile_size)
# iterate over the tiles
scene = np.zeros(shape=(nbands,) + img_size)
scene = np.zeros(shape=(nbands,) + img_size, dtype=tiles.dtype)
for t in range(tiles.shape[0]):
topleft[t][0]: topleft[t][0] + tile_size,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment