mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 03:39:01 +08:00
fix vs.net compilation issue
This commit is contained in:
parent
8163757cf0
commit
6b2ab13ac5
@ -144,7 +144,7 @@ umeyama(const MatrixBase<Derived>& src, const MatrixBase<OtherDerived>& dst, boo
|
|||||||
// const Scalar dst_var = dst_demean.rowwise().squaredNorm().sum() * one_over_n;
|
// const Scalar dst_var = dst_demean.rowwise().squaredNorm().sum() * one_over_n;
|
||||||
|
|
||||||
// Eq. (38)
|
// Eq. (38)
|
||||||
const MatrixType sigma = (dst_demean*src_demean.transpose()).lazy() * one_over_n;
|
const MatrixType sigma = (dst_demean * src_demean.transpose() * one_over_n).lazy();
|
||||||
|
|
||||||
SVD<MatrixType> svd(sigma);
|
SVD<MatrixType> svd(sigma);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user