Skip to content

Commit

Permalink
Merge pull request #2199 from SergioRAgostinho/gpu-people-fix
Browse files Browse the repository at this point in the history
Fix compilation error in gpu_people code
  • Loading branch information
taketwo authored Jan 30, 2018
2 parents 532fae9 + bb2ad5b commit f980937
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gpu/people/tools/people_app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ savePNGFile(const std::string& filename, const pcl::gpu::DeviceArray2D<T>& arr)
template <typename T> void
savePNGFile (const std::string& filename, const pcl::PointCloud<T>& cloud)
{
pcl::io::savePNGFile(filename, cloud);
pcl::io::savePNGFile(filename, cloud, "rgb");
}

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion gpu/people/tools/people_pcd_prob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ savePNGFile(const std::string& filename, const pcl::gpu::DeviceArray2D<T>& arr)
template <typename T> void
savePNGFile (const std::string& filename, const pcl::PointCloud<T>& cloud)
{
pcl::io::savePNGFile(filename, cloud);
pcl::io::savePNGFile(filename, cloud, "rgb");
}

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit f980937

Please sign in to comment.