-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Relax requirements in eigen22d test. Always provide a normalized result in pcl::transformPlane
.
#2503
Relax requirements in eigen22d test. Always provide a normalized result in pcl::transformPlane
.
#2503
Conversation
I just discovered the eigen22f test is still failing on my 18.04 environment. Gonna have a look at it again although I'm fearing this is gonna get us back to the original problems in #1702. |
This one is also good to go. |
test/common/test_eigen.cpp
Outdated
// From Eigen 3.3.2 onwards, the Eigen::Hyperplane::transform always returns | ||
// coefficients with the normal normalized | ||
#if EIGEN_VERSION_AT_LEAST (3, 3, 2) | ||
test /= test.head<3> ().norm (); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we rather tweak the function to return consistent results no matter what the Eigen version is? That is, to return normalized normal?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that sounds cleaner.
b840192
to
dd9a40a
Compare
dd9a40a
to
d56ce85
Compare
Don't let this one be forgotten. |
pcl::transformPlane
.
Thanks for the ping. |
No description provided.