diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-10-08 10:42:41 -0400 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-10-08 10:42:41 -0400 |
commit | d229f99ba281364d5fdb2feb081f9d37d201d759 (patch) | |
tree | f7e71cece280b407c16893b3e64df9575df3b889 /Eigen/src/Geometry | |
parent | 8ba8d90063ab6b297b1ba912f806eaa71cbdf003 (diff) |
adapt Quaternion to JacobiSVD API changes.
Diffstat (limited to 'Eigen/src/Geometry')
-rw-r--r-- | Eigen/src/Geometry/Quaternion.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Geometry/Quaternion.h b/Eigen/src/Geometry/Quaternion.h index 5e52d5b5a..c0845653d 100644 --- a/Eigen/src/Geometry/Quaternion.h +++ b/Eigen/src/Geometry/Quaternion.h @@ -515,7 +515,7 @@ inline Derived& QuaternionBase<Derived>::setFromTwoVectors(const MatrixBase<Deri { c = std::max<Scalar>(c,-1); Matrix<Scalar,2,3> m; m << v0.transpose(), v1.transpose(); - JacobiSVD<Matrix<Scalar,2,3> > svd(m); + JacobiSVD<Matrix<Scalar,2,3> > svd(m, ComputeFullV); Vector3 axis = svd.matrixV().col(2); Scalar w2 = (Scalar(1)+c)*Scalar(0.5); |