enable ceres-solver 2.1.0 (#3158)
parent
e3f2a5e4da
commit
8b46de6f9a
2 changed files with 16 additions and 2 deletions
@ -0,0 +1,13 @@ |
||||
diff --git a/internal/ceres/covariance_impl.cc b/internal/ceres/covariance_impl.cc
|
||||
index 324b553..d80554b 100644
|
||||
--- a/internal/ceres/covariance_impl.cc
|
||||
+++ b/internal/ceres/covariance_impl.cc
|
||||
@@ -630,7 +630,7 @@ bool CovarianceImpl::ComputeCovarianceValuesUsingSuiteSparseQR() {
|
||||
// separately.
|
||||
const SuiteSparse_long rank = SuiteSparseQR<double>(SPQR_ORDERING_BESTAMD,
|
||||
SPQR_DEFAULT_TOL,
|
||||
- cholmod_jacobian.ncol,
|
||||
+ static_cast<int64_t>(cholmod_jacobian.ncol),
|
||||
&cholmod_jacobian,
|
||||
&R,
|
||||
&permutation,
|
Loading…
Reference in new issue