Created attachment 151 [details] VC10 compilation errors The below code produces some compile time errors, of which this is probably the most important one: 1> bla\eigen\src/LU/Inverse.h(300): error C2039: 'ColsAtCompileTime' : is not a member of 'Eigen::Transform<_Scalar,_Dim,_Mode>' The required information is available however, but not in Transform::ColsAtCompileTime, but in Transform::MatrixType::ColsAtCompileTime The other errors look like they are being caused by the same problem. Complete error in attachment. Code: ------------------------------------ #include <Eigen/Core> #include <Eigen/Geometry> Eigen::Matrix4f inverse(Eigen::Matrix4f& mat){ return mat.inverse(); } int main() { Eigen::Matrix4f transformMatrix; // does not work auto invMatrix = transformMatrix.inverse(); Eigen::Affine3f aff(invMatrix); // works as expected Eigen::Affine3f aff2(inverse(transformMatrix)); }
-- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/244.