Skip to content

Commit 1b0b385

Browse files
authored
Merge pull request #18 from zz990099/fix/fix_ceil_div
fix[FoundationPoseRender]: fix parameter type error in `ceil_div`
2 parents 2de2675 + df82e25 commit 1b0b385

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)