Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
One line of modification that makes the code works both in Release Mo…
…de and Debug Mode. The code was previously tested in Release Mode and should work properly there.
  • Loading branch information
Yanjun7J committed Feb 8, 2018
commit 2c084d6fe5ce7f171deeed244f67bd844b71219a
2 changes: 1 addition & 1 deletion src/closest_rotation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ void closest_rotation(
using namespace Eigen;

// Calculate UV
JacobiSVD<Matrix3d> svd(M, ComputeThinU | ComputeThinV);
JacobiSVD<MatrixXd> svd(M, ComputeThinU | ComputeThinV);
Matrix3d U, V, omega;
U = svd.matrixU();
V = svd.matrixV();
Expand Down