change Caley to CaleyFixed to fix compiling issue. The name was changed since this commit 5bc4810, and was not updated in the merge a9e3535.

release/4.3a0
thduynguyen 2014-11-26 15:09:19 -05:00
parent 7aaf6a1e82
commit ca640ac54d
1 changed files with 1 additions and 1 deletions

View File

@ -467,7 +467,7 @@ GTSAM_EXPORT Matrix Cayley(const Matrix& A);
/// Implementation of Cayley transform using fixed size matrices to let
/// Eigen do more optimization
template<int N>
Eigen::Matrix<double, N, N> Cayley(const Eigen::Matrix<double, N, N>& A) {
Eigen::Matrix<double, N, N> CayleyFixed(const Eigen::Matrix<double, N, N>& A) {
typedef Eigen::Matrix<double, N, N> FMat;
return (FMat::Identity() - A)*(FMat::Identity() + A).inverse();
}