diff options
author | cybaol | 2023-09-17 15:17:09 +0800 |
---|---|---|
committer | cybaol | 2023-09-17 15:17:09 +0800 |
commit | 31071806a3e6ff5feaa91e5ddee24b35153a3e8c (patch) | |
tree | 755ad82f7e7db7127909ee45e79dc58c2bf88a77 /ceres-solver-fix-suitesparse-7.2.patch | |
parent | 44ce5631afef94aea0d87dd1e6ed4112e1d2ae79 (diff) | |
download | aur-ceres-solver-legacy.tar.gz |
fix SuiteSparse 7.2
Diffstat (limited to 'ceres-solver-fix-suitesparse-7.2.patch')
-rw-r--r-- | ceres-solver-fix-suitesparse-7.2.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ceres-solver-fix-suitesparse-7.2.patch b/ceres-solver-fix-suitesparse-7.2.patch new file mode 100644 index 000000000000..e670d18936ca --- /dev/null +++ b/ceres-solver-fix-suitesparse-7.2.patch @@ -0,0 +1,12 @@ +diff -Naur ceres-solver-1.14.0/internal/ceres/covariance_impl.cc ceres-solver-1.14.0_/internal/ceres/covariance_impl.cc +--- ceres-solver-1.14.0/internal/ceres/covariance_impl.cc 2018-03-23 22:44:36.000000000 +0800 ++++ ceres-solver-1.14.0_/internal/ceres/covariance_impl.cc 2023-09-17 14:56:23.746434595 +0800 +@@ -669,7 +669,7 @@ + // ordering computed. So, it maybe worth doing that analysis + // separately. + const SuiteSparse_long rank = +- SuiteSparseQR<double>(SPQR_ORDERING_BESTAMD, ++ SuiteSparseQR<double, int64_t>(SPQR_ORDERING_BESTAMD, + SPQR_DEFAULT_TOL, + cholmod_jacobian.ncol, + &cholmod_jacobian, |