Skip to content
This repository was archived by the owner on Jul 14, 2022. It is now read-only.

Commit 25c4e7f

Browse files
committed
Fix reading of scanline_Idx by specifying correct type
1 parent 3da614e commit 25c4e7f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/riegl_rdb.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ typedef struct {
8383
float azimuth;
8484
float zenith;
8585
npy_uint32 scanline; // abs() of riegl.row
86-
npy_uint16 scanline_Idx; // abs(0 of riegl.column
86+
npy_uint16 scanline_Idx; // abs() of riegl.column
8787
double x_Idx;
8888
double y_Idx;
8989
npy_uint32 pts_start_idx;
@@ -319,7 +319,7 @@ class PyRieglRDBDataBuffer
319319

320320
// these 2 don't appear to be documented, but are in there
321321
CHECKBIND_READER("riegl.row", RDBDataTypeINT32, &m_buffer[0].row);
322-
CHECKBIND_READER("riegl.column", RDBDataTypeINT16, &m_buffer[0].column);
322+
CHECKBIND_READER("riegl.column", RDBDataTypeINT32, &m_buffer[0].column);
323323

324324
CHECKBIND_READER(RDB_RIEGL_TARGET_INDEX.name, RDBDataTypeUINT8, &m_buffer[0].target_index)
325325
CHECKBIND_READER(RDB_RIEGL_TARGET_COUNT.name, RDBDataTypeUINT8, &m_buffer[0].target_count)

0 commit comments

Comments
 (0)