Skip to content

Commit

Permalink
Fix minor issues in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mvieth committed Apr 9, 2024
1 parent 0ed704a commit 969a437
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/filters/test_filters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2491,7 +2491,7 @@ TEST (VoxelGridOcclusionEstimation, Filters)
auto input_cloud = pcl::make_shared<pcl::PointCloud<pcl::PointXYZ>>();
input_cloud->emplace_back(0.0, 0.0, 0.0);
input_cloud->emplace_back(9.9, 9.9, 9.9); // we want a nice bounding box from (0, 0, 0) to (10, 10, 10)
input_cloud->sensor_origin_ << -0.1, 0.5, 0.5; // just outside the bounding box. Most rays will enter at voxel (0, 0, 0)
input_cloud->sensor_origin_ << -0.1f, 0.5f, 0.5f, 0.0f; // just outside the bounding box. Most rays will enter at voxel (0, 0, 0)
pcl::VoxelGridOcclusionEstimation<pcl::PointXYZ> vg;
vg.setInputCloud (input_cloud);
vg.setLeafSize (1.0, 1.0, 1.0);
Expand Down
1 change: 1 addition & 0 deletions test/geometry/test_mesh_common_functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

#pragma once

#include <iomanip> // for setw
#include <iostream>
#include <vector>

Expand Down
1 change: 1 addition & 0 deletions test/io/test_io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
#include <pcl/io/ascii_io.h>
#include <pcl/io/obj_io.h>
#include <fstream>
#include <iomanip> // for setprecision
#include <locale>
#include <stdexcept>

Expand Down

0 comments on commit 969a437

Please sign in to comment.