Skip to content

Commit

Permalink
Merge pull request #1914 from taketwo/fix-eigen
Browse files Browse the repository at this point in the history
Explicitly convert to Eigen index from double
  • Loading branch information
jspricke authored Jun 30, 2017
2 parents 6e8a5d8 + 16ef868 commit 2378eaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions surface/include/pcl/surface/impl/bilateral_upsampling.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ pcl::BilateralUpsampling<PointInT, PointOutT>::performProcessing (PointCloudOut
abs (input_->points[y_w * input_->width + x_w].r - input_->points[y * input_->width + x].r) +
abs (input_->points[y_w * input_->width + x_w].g - input_->points[y * input_->width + x].g) +
abs (input_->points[y_w * input_->width + x_w].b - input_->points[y * input_->width + x].b));
float val_exp_rgb = val_exp_rgb_vector(d_color);

float val_exp_rgb = val_exp_rgb_vector (static_cast<Eigen::VectorXf::Index> (d_color));

if (pcl_isfinite (input_->points[y_w*input_->width + x_w].z))
{
Expand Down

0 comments on commit 2378eaa

Please sign in to comment.