mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
Add const to GetCovarianceMatrix*
This CL adds const to the functions GetCovarianceMatrix and GetCovarianceMatrixInTangentSpace. Change-Id: Ibe2cafebede47977a9aabcac8d245f30af184fd1
This commit is contained in:
committed by
Sameer Agarwal
parent
6bde61d6be
commit
84fdac38e0
@@ -426,7 +426,7 @@ class CERES_EXPORT Covariance {
|
||||
// the sizes of the individual parameter blocks. The covariance
|
||||
// matrix will be a row-major matrix.
|
||||
bool GetCovarianceMatrix(const std::vector<const double*>& parameter_blocks,
|
||||
double* covariance_matrix);
|
||||
double* covariance_matrix) const;
|
||||
|
||||
// Return the covariance matrix corresponding to parameter_blocks
|
||||
// in the tangent space if a local parameterization is associated
|
||||
@@ -445,7 +445,7 @@ class CERES_EXPORT Covariance {
|
||||
// blocks. The covariance matrix will be a row-major matrix.
|
||||
bool GetCovarianceMatrixInTangentSpace(
|
||||
const std::vector<const double*>& parameter_blocks,
|
||||
double* covariance_matrix);
|
||||
double* covariance_matrix) const;
|
||||
|
||||
private:
|
||||
std::unique_ptr<internal::CovarianceImpl> impl_;
|
||||
|
||||
Reference in New Issue
Block a user