Skip to content

Commit

Permalink
Merge pull request #531 from norlab-ulaval/eigen-3.4-tests-fix
Browse files Browse the repository at this point in the history
Fix Transformations test build when using Eigen3.4
  • Loading branch information
boxanm authored Nov 17, 2023
2 parents 410b4de + 539d5ff commit ea8df9d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions utest/ui/Transformations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using namespace std;
using namespace PointMatcherSupport;


static inline Eigen::Transform<NumericType, 2, Eigen::Affine> buildUpTransformation2D(const Eigen::Matrix<NumericType, 2, 1>& translation,
const Eigen::Rotation2D<NumericType>& rotation,
const NumericType scale = 1.0)
Expand Down Expand Up @@ -59,7 +58,7 @@ static inline void assertOnDataPointsTransformation(const PM::DataPoints& cloud,
EXPECT_EQ(cloud.featureLabels, transformedCloud.featureLabels);
EXPECT_EQ(cloud.descriptorLabels, transformedCloud.descriptorLabels);
EXPECT_EQ(cloud.timeLabels, transformedCloud.timeLabels);
EXPECT_EQ(cloud.times, transformedCloud.times);
EXPECT_TRUE(cloud.times.isApprox(transformedCloud.times, 0));
}

//---------------------------
Expand Down

0 comments on commit ea8df9d

Please sign in to comment.