Skip to content

Commit

Permalink
Merge pull request #1225 from benbennett/fix1224
Browse files Browse the repository at this point in the history
Fixes 1224 for CUDA >= 6.x when calling fmin.
  • Loading branch information
jspricke committed May 4, 2015
2 parents 0daa446 + 77614b7 commit ddd6b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpu/kinfu_large_scale/src/cuda/tsdf_volume.cu
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ namespace pcl

if (sdf >= -tranc_dist_mm)
{
float tsdf = fmin (1, sdf / tranc_dist_mm);
float tsdf = fmin (1.f, sdf / tranc_dist_mm);

int weight_prev;
float tsdf_prev;
Expand Down

0 comments on commit ddd6b41

Please sign in to comment.