Commit 9967eeca authored by Jan Möbius's avatar Jan Möbius

Fixed eigen error in debug mode as we need to compute full u and v

matrices.

closes #26
parent 7b1f0cfa
Pipeline #684 passed with stage
......@@ -74,7 +74,7 @@ void rotate(MeshT& _mesh) {
Matrix3d covar = (data * data.transpose()) / (double)_mesh.n_vertices();
JacobiSVD<Matrix3d> svd(covar, ComputeThinU | ComputeThinV);
JacobiSVD<Matrix3d> svd(covar, ComputeFullU | ComputeFullV);
const Matrix3d& u = svd.matrixU();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment