Skip to content

Commit 6f74f2b

Browse files
authored
Fixed typos (#110)
1 parent 7564ac3 commit 6f74f2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samgeo/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ def calculate_sample_grid(raster_h, raster_w, sample_h, sample_w, bound):
900900

901901
for y in range(-bound, raster_h, h):
902902
for x in range(-bound, raster_w, w):
903-
rigth_x_bound = max(bound, x + width - raster_w)
903+
right_x_bound = max(bound, x + width - raster_w)
904904
bottom_y_bound = max(bound, y + height - raster_h)
905905

906906
blocks.append(
@@ -909,7 +909,7 @@ def calculate_sample_grid(raster_h, raster_w, sample_h, sample_w, bound):
909909
"y": y,
910910
"height": height,
911911
"width": width,
912-
"bounds": [[bound, bottom_y_bound], [bound, rigth_x_bound]],
912+
"bounds": [[bound, bottom_y_bound], [bound, right_x_bound]],
913913
}
914914
)
915915
return blocks

0 commit comments

Comments
 (0)