Skip to content

Commit

Permalink
Fix SqrtInformation (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
B1ueber2y authored Jun 24, 2024
1 parent 7970b68 commit c3b9f42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _pyceres/factors/bindings.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace py = pybind11;

inline Eigen::MatrixXd SqrtInformation(const Eigen::MatrixXd& covariance) {
return covariance.inverse().llt().matrixL();
return covariance.inverse().llt().matrixL().transpose();
}

// Mahalanobis squared distance between two parameters.
Expand Down

0 comments on commit c3b9f42

Please sign in to comment.