Skip to content

Commit

Permalink
Updated to 5.0.13 - i.e., to make new release.
Browse files Browse the repository at this point in the history
  • Loading branch information
petebunting committed Jan 23, 2023
1 parent 7470954 commit 718779c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ set (PROJECT_DATA_DIR share)
# The version number.
set (RSGISLIB_VERSION_MAJOR 5)
set (RSGISLIB_VERSION_MINOR 0)
set (RSGISLIB_VERSION_PATCH 12)
set (RSGISLIB_VERSION_PATCH 13)
set (RSGISLIB_VERSION "${RSGISLIB_VERSION_MAJOR}.${RSGISLIB_VERSION_MINOR}.${RSGISLIB_VERSION_PATCH}")
set (RSGISLIB_PACKAGE_VERSION "${RSGISLIB_VERSION_MAJOR}.${RSGISLIB_VERSION_MINOR}.${RSGISLIB_VERSION_PATCH}")
set (RSGISLIB_PACKAGE_STRING "RSGISLib ${RSGISLIB_VERSION_MAJOR}.${RSGISLIB_VERSION_MINOR}.${RSGISLIB_VERSION_PATCH}")
Expand Down
4 changes: 2 additions & 2 deletions python/rsgislib/zonalstats/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1540,12 +1540,12 @@ def ext_point_band_values(
if x_pt_off == 0.0:
x_pxl = 0
else:
x_pxl = int(math.floor(x_pt_off / pixel_width))# - 1
x_pxl = int(math.floor(x_pt_off / pixel_width))

if y_pt_off == 0.0:
y_pxl = 0
else:
y_pxl = int(math.floor(y_pt_off / pixel_height))# - 1
y_pxl = int(math.floor(y_pt_off / pixel_height))

if x_pxl < 0:
pt_in_img = False
Expand Down

0 comments on commit 718779c

Please sign in to comment.