I cannot get my head around this problem to convert Matrix4x4 to Matrix3x3 using Eigen. For example if I try this it fails:
Matrix4f m;
m << 1, 2, 3, 4,
5, 6, 7, 8,
9, 10, 11, 12,
13, 14, 15, 16;
Matrix3f m2 = m.block(0,0,3,3);
Is it possible to return different type with block operations or if there is any other quick workaround for this problem?
Upgrading to Eigen 3.2.1 fixed my problem.