Commit 36e4ce63 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


closes #26
parent 608b639e
......@@ -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