package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
829 B
14 lines
829 B
11 months ago
|
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,
|