.hnormalized() of .triangularView<> product issues a compilation error
Submitted by Sergiu Deitsch
Assigned to Nobody
Link to original bugzilla bug (#1310)
Version: 3.3 (current stable)
Operating system: Windows
Description
Created attachment 738
VC14 log output
I have the following code which does not compile Eigen 3.3-rc1 (it does with Eigen 3.2.9 though):
#include <Eigen/Core>
#include <Eigen/Geometry>
#include <Eigen/LU>
int main()
{
Eigen::Matrix3d K;
K.setIdentity();
Eigen::Vector2d u;
u.setZero();
(K.triangularView<Eigen::Upper>() * u.homogeneous()).hnormalized();
// Eigen::Matrix4d::Identity().lu().solve(Eigen::Vector3d::Ones().homogeneous()).hnormalized();
}
I've attached the compiler output. The code was compiled using the following command-line:
cl /W4 /EHsc test.cpp
Attachment 738, "VC14 log output":
log.txt
Edited by Eigen Bugzilla