diff options
author | Sergey Sharybin <sergey@blender.org> | 2020-11-13 13:52:59 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2020-11-13 13:52:59 +0300 |
commit | 75ea4b8a1f5d3bacb18c6c57afed2e25e657caa6 (patch) | |
tree | e64289f5347a9c98e047d168ab669ab23c7024d2 /extern/ceres/patches | |
parent | 7146e9696e3c905297889764c37d5d1cc42cee0d (diff) |
Ceres: Update to upstream version 2.0.0
We already were using one of earlier RC of the library, so there is no
expected big changes. Just making the update official, using official
version and stating it in the readme file.
Diffstat (limited to 'extern/ceres/patches')
-rw-r--r-- | extern/ceres/patches/series | 2 | ||||
-rw-r--r-- | extern/ceres/patches/unused_parameter.patch | 13 | ||||
-rw-r--r-- | extern/ceres/patches/unused_variable.patch | 12 |
3 files changed, 0 insertions, 27 deletions
diff --git a/extern/ceres/patches/series b/extern/ceres/patches/series index 7fa3673acac..e69de29bb2d 100644 --- a/extern/ceres/patches/series +++ b/extern/ceres/patches/series @@ -1,2 +0,0 @@ -unused_parameter.patch -unused_variable.patch diff --git a/extern/ceres/patches/unused_parameter.patch b/extern/ceres/patches/unused_parameter.patch deleted file mode 100644 index 14969d6a19f..00000000000 --- a/extern/ceres/patches/unused_parameter.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/extern/ceres/include/ceres/internal/autodiff.h b/extern/ceres/include/ceres/internal/autodiff.h -index 71b7bae4757..cb7b1aca5b9 100644 ---- a/include/ceres/internal/autodiff.h -+++ b/include/ceres/internal/autodiff.h -@@ -198,7 +198,7 @@ struct Make1stOrderPerturbation { - template <int N, int Offset, typename T, typename JetT> - struct Make1stOrderPerturbation<N, N, Offset, T, JetT> { - public: -- static void Apply(const T* src, JetT* dst) {} -+ static void Apply(const T* /*src*/, JetT* /*dst*/) {} - }; - - // Calls Make1stOrderPerturbation for every parameter block. diff --git a/extern/ceres/patches/unused_variable.patch b/extern/ceres/patches/unused_variable.patch deleted file mode 100644 index 24a4f392962..00000000000 --- a/extern/ceres/patches/unused_variable.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/extern/ceres/internal/ceres/sparse_cholesky.cc b/extern/ceres/internal/ceres/sparse_cholesky.cc -index 0639ea90664..d9d2100d3f9 100644 ---- a/internal/ceres/sparse_cholesky.cc -+++ b/internal/ceres/sparse_cholesky.cc -@@ -56,6 +56,7 @@ std::unique_ptr<SparseCholesky> SparseCholesky::Create( - } - break; - #else -+ (void)ordering_type; - LOG(FATAL) << "Ceres was compiled without support for SuiteSparse."; - #endif - |