Skip to content

Commit

Permalink
Remove params from round_lengths calls
Browse files Browse the repository at this point in the history
Resolves #2314
  • Loading branch information
Sean Gillies committed Oct 18, 2021
1 parent 5146eaa commit 3fec2c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rasterio/_io.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ cdef class DatasetReaderBase(DatasetBase):
if not boundless:
window = window.crop(self.height, self.width)

int_window = window.round_lengths(op="gdal")
int_window = window.round_lengths()
win_shape += (int(int_window.height), int(int_window.width))

else:
Expand Down Expand Up @@ -779,7 +779,7 @@ cdef class DatasetReaderBase(DatasetBase):
if not boundless:
window = window.crop(self.height, self.width)

int_window = window.round_lengths(op="gdal")
int_window = window.round_lengths()
win_shape += (int(int_window.height), int(int_window.width))

else:
Expand Down

0 comments on commit 3fec2c7

Please sign in to comment.