Fix warnings

This commit is contained in:
Simon Giraudot 2020-03-18 08:30:57 +01:00
parent feaa8ce598
commit 34185bbae1
3 changed files with 8 additions and 4 deletions

View File

@ -133,6 +133,14 @@ int main(int argc, const char** argv)
* */
);
if (converged)
std::cerr << "Success" << std::endl;
else
{
std::cerr << "Failure" << std::endl;
return EXIT_FAILURE;
}
std::ofstream out("pwns2_aligned.ply");
if (!out ||
!CGAL::write_ply_points(

View File

@ -82,9 +82,6 @@ compute_registration_transformation(const PointRange1& range1, const PointRan
VectorMap1 vector_map1, VectorMap2 vector_map2,
Options<Kernel>& options)
{
typedef typename Kernel::Point_3 Point_3;
typedef typename Kernel::Vector_3 Vector_3;
typedef gr::Point3D<typename Kernel::FT> PointType;
namespace GR=gr;

View File

@ -264,7 +264,6 @@ compute_registration_transformation(const PointRange1& range1, const PointRange2
using PM = PointMatcher<Scalar>;
using PM_cloud = typename PM::DataPoints;
using PM_matrix = typename PM::Matrix;
using PM_labels = typename PM_cloud::Labels;
using PM_transform = typename PM::Transformation;
using PM_transform_params = typename PM::TransformationParameters;