Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Transformations test build when using Eigen3.4 #531

Merged
merged 3 commits into from
Nov 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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