Commit bce5acd2 authored by Jan Möbius's avatar Jan Möbius
Browse files

Merge branch 'Align_svd_fix' into 'master'

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


closes #26

See merge request !53
parents b8887a91 9967eeca
Pipeline #691 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();
Supports Markdown
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