mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-18 12:23:13 +08:00
fix type mismatch caught by new static assert
This commit is contained in:
parent
d700343632
commit
9b06e072a5
@ -1,4 +1,4 @@
|
|||||||
Matrix3d m = Matrix3i::Zero();
|
Matrix3d m = Matrix3d::Zero();
|
||||||
m.part<Eigen::StrictlyUpperTriangular>().setOnes();
|
m.part<Eigen::StrictlyUpperTriangular>().setOnes();
|
||||||
cout << "Here is the matrix m:" << endl << m << endl;
|
cout << "Here is the matrix m:" << endl << m << endl;
|
||||||
cout << "And let us now compute m*m.adjoint() in a very optimized way" << endl
|
cout << "And let us now compute m*m.adjoint() in a very optimized way" << endl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user