Skip to content

Commit df82e25

Browse files
authored
fix[FoundationPoseRender]: fix parameter type error in ceil_div
1 parent 2de2675 commit df82e25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

detection_6d_foundationpose/src/foundationpose_render.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ __global__ void transform_points_kernel(const float *transform_matrixs,
340340
transformed_point[2] = matrix[2] * x + matrix[6] * y + matrix[10] * z + matrix[14];
341341
}
342342

343-
static uint16_t ceil_div(uint16_t numerator, uint16_t denominator)
343+
static uint32_t ceil_div(uint32_t numerator, uint32_t denominator)
344344
{
345345
uint32_t accumulator = numerator + denominator - 1;
346346
return accumulator / denominator + 1;

0 commit comments

Comments
 (0)