mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 22:02:49 -06:00
*Eigen: Solved compiler error with CLANG
git-svn-id: svn://ultimatepp.org/upp/trunk@14122 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
0b0e823cd8
commit
7ae41e6b40
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ umeyama(const MatrixBase<Derived>& src, const MatrixBase<OtherDerived>& dst, boo
|
|||
VectorType S = VectorType::Ones(m);
|
||||
|
||||
if ( svd.matrixU().determinant() * svd.matrixV().determinant() < 0 )
|
||||
S(m-1) = -1;
|
||||
S[m-1] = -1;
|
||||
|
||||
// Eq. (40) and (43)
|
||||
Rt.block(0,0,m,m).noalias() = svd.matrixU() * S.asDiagonal() * svd.matrixV().transpose();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue