From 6b6b05de5c0764803426bba0b336894fb04083b6 Mon Sep 17 00:00:00 2001 From: ManifoldFR Date: Fri, 25 Apr 2025 13:52:21 +0200 Subject: [PATCH 1/5] pre-commit config : actually delegate to .clang-format config file --- .pre-commit-config.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f62778c65..1b1b6b72f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,8 +26,6 @@ repos: rev: v20.1.0 hooks: - id: clang-format - args: - - '--style={BasedOnStyle: Google, SortIncludes: false, Standard: Cpp03}' - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: From 68f8ed5da7309cdf143d409489025584b410024c Mon Sep 17 00:00:00 2001 From: ManifoldFR Date: Fri, 25 Apr 2025 13:52:31 +0200 Subject: [PATCH 2/5] .clang-format : increase Standard to Cpp11 --- .clang-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index ae76261ea..4a45c842e 100644 --- a/.clang-format +++ b/.clang-format @@ -1,3 +1,3 @@ BasedOnStyle: Google SortIncludes: false -Standard: Cpp03 +Standard: Cpp11 From 51b49061575d46e0668eba0da200217cbfd9e883 Mon Sep 17 00:00:00 2001 From: ManifoldFR Date: Fri, 25 Apr 2025 13:52:46 +0200 Subject: [PATCH 3/5] pre-commit: run all --- include/eigenpy/alignment.hpp | 4 +- include/eigenpy/angle-axis.hpp | 4 +- include/eigenpy/copyable.hpp | 2 +- .../decompositions/ColPivHouseholderQR.hpp | 2 +- .../CompleteOrthogonalDecomposition.hpp | 2 +- .../eigenpy/decompositions/EigenSolver.hpp | 4 +- .../decompositions/FullPivHouseholderQR.hpp | 2 +- .../eigenpy/decompositions/HouseholderQR.hpp | 2 +- include/eigenpy/decompositions/LDLT.hpp | 2 +- include/eigenpy/decompositions/LLT.hpp | 2 +- .../decompositions/PermutationMatrix.hpp | 2 +- .../decompositions/SelfAdjointEigenSolver.hpp | 4 +- include/eigenpy/decompositions/minres.hpp | 4 +- .../eigenpy/decompositions/sparse/LDLT.hpp | 4 +- include/eigenpy/decompositions/sparse/LLT.hpp | 4 +- .../sparse/SimplicialCholesky.hpp | 2 +- .../sparse/SparseSolverBase.hpp | 2 +- .../sparse/accelerate/accelerate.hpp | 2 +- .../sparse/cholmod/CholmodBase.hpp | 2 +- .../sparse/cholmod/CholmodDecomposition.hpp | 2 +- .../sparse/cholmod/CholmodSimplicialLDLT.hpp | 2 +- .../sparse/cholmod/CholmodSimplicialLLT.hpp | 2 +- .../sparse/cholmod/CholmodSupernodalLLT.hpp | 2 +- include/eigenpy/details.hpp | 8 ++-- include/eigenpy/eigen-allocator.hpp | 24 +++++------ include/eigenpy/eigen-from-python.hpp | 24 +++++------ include/eigenpy/eigen-to-python.hpp | 20 +++++----- include/eigenpy/eigen/EigenBase.hpp | 2 +- include/eigenpy/eigenpy.hpp | 6 +-- include/eigenpy/fwd.hpp | 6 +-- include/eigenpy/id.hpp | 2 +- include/eigenpy/map.hpp | 9 ++--- include/eigenpy/numpy-allocator.hpp | 18 ++++----- include/eigenpy/numpy-map.hpp | 8 ++-- include/eigenpy/numpy.hpp | 6 +-- include/eigenpy/optional.hpp | 12 +++--- include/eigenpy/quaternion.hpp | 6 +-- include/eigenpy/scalar-conversion.hpp | 2 +- include/eigenpy/scipy-allocator.hpp | 10 ++--- .../eigenpy/solvers/BFGSPreconditioners.hpp | 4 +- .../eigenpy/solvers/BasicPreconditioners.hpp | 6 +-- include/eigenpy/solvers/ConjugateGradient.hpp | 2 +- .../eigenpy/solvers/IterativeSolverBase.hpp | 2 +- .../solvers/LeastSquaresConjugateGradient.hpp | 4 +- include/eigenpy/solvers/SparseSolverBase.hpp | 2 +- include/eigenpy/sparse/eigen-from-python.hpp | 20 +++++----- include/eigenpy/std-array.hpp | 8 ++-- include/eigenpy/std-map.hpp | 2 +- include/eigenpy/std-unique-ptr.hpp | 2 +- include/eigenpy/std-vector.hpp | 22 +++++----- include/eigenpy/stride.hpp | 8 ++-- include/eigenpy/tensor/eigen-from-python.hpp | 23 +++++------ include/eigenpy/type_info.hpp | 2 +- include/eigenpy/utils/scalar-name.hpp | 2 +- include/eigenpy/utils/traits.hpp | 6 +-- include/eigenpy/variant.hpp | 12 +++--- python/main.cpp | 2 +- src/decompositions/accelerate.cpp | 4 +- src/matrix-complex-double.cpp | 2 +- src/matrix-complex-float.cpp | 2 +- src/matrix-complex-long-double.cpp | 2 +- src/solvers/solvers.cpp | 7 ++-- unittest/bind_virtual_factory.cpp | 4 +- unittest/complex.cpp | 2 +- unittest/matrix.cpp | 40 +++++++++---------- unittest/return_by_ref.cpp | 3 +- unittest/sparse_matrix.cpp | 2 +- unittest/std_map.cpp | 4 +- unittest/std_unique_ptr.cpp | 8 ++-- unittest/std_vector.cpp | 18 ++++----- unittest/user_type.cpp | 2 +- 71 files changed, 224 insertions(+), 228 deletions(-) diff --git a/include/eigenpy/alignment.hpp b/include/eigenpy/alignment.hpp index d37af7006..4e0594a80 100644 --- a/include/eigenpy/alignment.hpp +++ b/include/eigenpy/alignment.hpp @@ -108,8 +108,8 @@ namespace objects { // Force alignment of instance with value_holder template -struct instance > - : ::eigenpy::aligned_instance > {}; +struct instance> + : ::eigenpy::aligned_instance> {}; } // namespace objects } // namespace python diff --git a/include/eigenpy/angle-axis.hpp b/include/eigenpy/angle-axis.hpp index 6181b07db..9917c5df1 100644 --- a/include/eigenpy/angle-axis.hpp +++ b/include/eigenpy/angle-axis.hpp @@ -13,7 +13,7 @@ template class AngleAxisVisitor; template -struct call > { +struct call> { typedef Eigen::AngleAxis AngleAxis; static inline void expose() { AngleAxisVisitor::expose(); } @@ -26,7 +26,7 @@ struct call > { }; template -class AngleAxisVisitor : public bp::def_visitor > { +class AngleAxisVisitor : public bp::def_visitor> { typedef typename AngleAxis::Scalar Scalar; typedef typename AngleAxis::Vector3 Vector3; typedef typename AngleAxis::Matrix3 Matrix3; diff --git a/include/eigenpy/copyable.hpp b/include/eigenpy/copyable.hpp index 2e3ddb719..7fdb728cb 100644 --- a/include/eigenpy/copyable.hpp +++ b/include/eigenpy/copyable.hpp @@ -15,7 +15,7 @@ namespace eigenpy { /// copy constructor. /// template -struct CopyableVisitor : public bp::def_visitor > { +struct CopyableVisitor : public bp::def_visitor> { template void visit(PyClass& cl) const { cl.def("copy", ©, bp::arg("self"), "Returns a copy of *this."); diff --git a/include/eigenpy/decompositions/ColPivHouseholderQR.hpp b/include/eigenpy/decompositions/ColPivHouseholderQR.hpp index 95e1bd794..b7068b288 100644 --- a/include/eigenpy/decompositions/ColPivHouseholderQR.hpp +++ b/include/eigenpy/decompositions/ColPivHouseholderQR.hpp @@ -15,7 +15,7 @@ namespace eigenpy { template struct ColPivHouseholderQRSolverVisitor : public boost::python::def_visitor< - ColPivHouseholderQRSolverVisitor<_MatrixType> > { + ColPivHouseholderQRSolverVisitor<_MatrixType>> { typedef _MatrixType MatrixType; typedef typename MatrixType::Scalar Scalar; typedef typename MatrixType::RealScalar RealScalar; diff --git a/include/eigenpy/decompositions/CompleteOrthogonalDecomposition.hpp b/include/eigenpy/decompositions/CompleteOrthogonalDecomposition.hpp index 5cfc4a1c9..5a2ab8f63 100644 --- a/include/eigenpy/decompositions/CompleteOrthogonalDecomposition.hpp +++ b/include/eigenpy/decompositions/CompleteOrthogonalDecomposition.hpp @@ -15,7 +15,7 @@ namespace eigenpy { template struct CompleteOrthogonalDecompositionSolverVisitor : public boost::python::def_visitor< - CompleteOrthogonalDecompositionSolverVisitor<_MatrixType> > { + CompleteOrthogonalDecompositionSolverVisitor<_MatrixType>> { typedef _MatrixType MatrixType; typedef typename MatrixType::Scalar Scalar; typedef typename MatrixType::RealScalar RealScalar; diff --git a/include/eigenpy/decompositions/EigenSolver.hpp b/include/eigenpy/decompositions/EigenSolver.hpp index 5aa91cb8d..b1d89da07 100644 --- a/include/eigenpy/decompositions/EigenSolver.hpp +++ b/include/eigenpy/decompositions/EigenSolver.hpp @@ -16,7 +16,7 @@ namespace eigenpy { template struct EigenSolverVisitor - : public boost::python::def_visitor > { + : public boost::python::def_visitor> { typedef _MatrixType MatrixType; typedef typename MatrixType::Scalar Scalar; typedef Eigen::EigenSolver Solver; @@ -26,7 +26,7 @@ struct EigenSolverVisitor cl.def(bp::init<>("Default constructor")) .def(bp::init( bp::arg("size"), "Default constructor with memory preallocation")) - .def(bp::init >( + .def(bp::init>( bp::args("matrix", "compute_eigen_vectors"), "Computes eigendecomposition of given matrix")) diff --git a/include/eigenpy/decompositions/FullPivHouseholderQR.hpp b/include/eigenpy/decompositions/FullPivHouseholderQR.hpp index 70dad1e45..99adc9386 100644 --- a/include/eigenpy/decompositions/FullPivHouseholderQR.hpp +++ b/include/eigenpy/decompositions/FullPivHouseholderQR.hpp @@ -15,7 +15,7 @@ namespace eigenpy { template struct FullPivHouseholderQRSolverVisitor : public boost::python::def_visitor< - FullPivHouseholderQRSolverVisitor<_MatrixType> > { + FullPivHouseholderQRSolverVisitor<_MatrixType>> { typedef _MatrixType MatrixType; typedef typename MatrixType::Scalar Scalar; typedef typename MatrixType::RealScalar RealScalar; diff --git a/include/eigenpy/decompositions/HouseholderQR.hpp b/include/eigenpy/decompositions/HouseholderQR.hpp index 895000f4a..34d3f744b 100644 --- a/include/eigenpy/decompositions/HouseholderQR.hpp +++ b/include/eigenpy/decompositions/HouseholderQR.hpp @@ -15,7 +15,7 @@ namespace eigenpy { template struct HouseholderQRSolverVisitor : public boost::python::def_visitor< - HouseholderQRSolverVisitor<_MatrixType> > { + HouseholderQRSolverVisitor<_MatrixType>> { typedef _MatrixType MatrixType; typedef typename MatrixType::Scalar Scalar; typedef typename MatrixType::RealScalar RealScalar; diff --git a/include/eigenpy/decompositions/LDLT.hpp b/include/eigenpy/decompositions/LDLT.hpp index 4f67d2713..5360801a8 100644 --- a/include/eigenpy/decompositions/LDLT.hpp +++ b/include/eigenpy/decompositions/LDLT.hpp @@ -16,7 +16,7 @@ namespace eigenpy { template struct LDLTSolverVisitor - : public boost::python::def_visitor > { + : public boost::python::def_visitor> { typedef _MatrixType MatrixType; typedef typename MatrixType::Scalar Scalar; typedef typename MatrixType::RealScalar RealScalar; diff --git a/include/eigenpy/decompositions/LLT.hpp b/include/eigenpy/decompositions/LLT.hpp index 8d2105f14..24763ee43 100644 --- a/include/eigenpy/decompositions/LLT.hpp +++ b/include/eigenpy/decompositions/LLT.hpp @@ -16,7 +16,7 @@ namespace eigenpy { template struct LLTSolverVisitor - : public boost::python::def_visitor > { + : public boost::python::def_visitor> { typedef _MatrixType MatrixType; typedef typename MatrixType::Scalar Scalar; typedef typename MatrixType::RealScalar RealScalar; diff --git a/include/eigenpy/decompositions/PermutationMatrix.hpp b/include/eigenpy/decompositions/PermutationMatrix.hpp index 7c11c7a63..5ac7535e3 100644 --- a/include/eigenpy/decompositions/PermutationMatrix.hpp +++ b/include/eigenpy/decompositions/PermutationMatrix.hpp @@ -14,7 +14,7 @@ template struct PermutationMatrixVisitor : public boost::python::def_visitor > { + SizeAtCompileTime, MaxSizeAtCompileTime, StorageIndex_>> { typedef StorageIndex_ StorageIndex; typedef Eigen::PermutationMatrix diff --git a/include/eigenpy/decompositions/SelfAdjointEigenSolver.hpp b/include/eigenpy/decompositions/SelfAdjointEigenSolver.hpp index 8a378fa3c..221f3d434 100644 --- a/include/eigenpy/decompositions/SelfAdjointEigenSolver.hpp +++ b/include/eigenpy/decompositions/SelfAdjointEigenSolver.hpp @@ -17,7 +17,7 @@ namespace eigenpy { template struct SelfAdjointEigenSolverVisitor : public boost::python::def_visitor< - SelfAdjointEigenSolverVisitor<_MatrixType> > { + SelfAdjointEigenSolverVisitor<_MatrixType>> { typedef _MatrixType MatrixType; typedef typename MatrixType::Scalar Scalar; typedef Eigen::SelfAdjointEigenSolver Solver; @@ -28,7 +28,7 @@ struct SelfAdjointEigenSolverVisitor .def(bp::init( bp::args("self", "size"), "Default constructor with memory preallocation")) - .def(bp::init >( + .def(bp::init>( bp::args("self", "matrix", "options"), "Computes eigendecomposition of given matrix")) diff --git a/include/eigenpy/decompositions/minres.hpp b/include/eigenpy/decompositions/minres.hpp index 03ee7d19b..fa53870e9 100644 --- a/include/eigenpy/decompositions/minres.hpp +++ b/include/eigenpy/decompositions/minres.hpp @@ -15,7 +15,7 @@ namespace eigenpy { template struct IterativeSolverBaseVisitor - : public boost::python::def_visitor > { + : public boost::python::def_visitor> { typedef _Solver Solver; typedef typename Solver::MatrixType MatrixType; typedef typename Solver::Preconditioner Preconditioner; @@ -123,7 +123,7 @@ struct IterativeSolverBaseVisitor template struct MINRESSolverVisitor - : public boost::python::def_visitor > { + : public boost::python::def_visitor> { typedef _MatrixType MatrixType; typedef typename MatrixType::Scalar Scalar; typedef typename MatrixType::RealScalar RealScalar; diff --git a/include/eigenpy/decompositions/sparse/LDLT.hpp b/include/eigenpy/decompositions/sparse/LDLT.hpp index 53772aede..6c9c39773 100644 --- a/include/eigenpy/decompositions/sparse/LDLT.hpp +++ b/include/eigenpy/decompositions/sparse/LDLT.hpp @@ -13,10 +13,10 @@ namespace eigenpy { template > + Eigen::AMDOrdering> struct SimplicialLDLTVisitor : public boost::python::def_visitor< - SimplicialLDLTVisitor<_MatrixType, _UpLo, _Ordering> > { + SimplicialLDLTVisitor<_MatrixType, _UpLo, _Ordering>> { typedef SimplicialLDLTVisitor<_MatrixType, _UpLo, _Ordering> Visitor; typedef _MatrixType MatrixType; diff --git a/include/eigenpy/decompositions/sparse/LLT.hpp b/include/eigenpy/decompositions/sparse/LLT.hpp index 4e5216365..259f796c1 100644 --- a/include/eigenpy/decompositions/sparse/LLT.hpp +++ b/include/eigenpy/decompositions/sparse/LLT.hpp @@ -13,10 +13,10 @@ namespace eigenpy { template > + Eigen::AMDOrdering> struct SimplicialLLTVisitor : public boost::python::def_visitor< - SimplicialLLTVisitor<_MatrixType, _UpLo, _Ordering> > { + SimplicialLLTVisitor<_MatrixType, _UpLo, _Ordering>> { typedef SimplicialLLTVisitor<_MatrixType, _UpLo, _Ordering> Visitor; typedef _MatrixType MatrixType; diff --git a/include/eigenpy/decompositions/sparse/SimplicialCholesky.hpp b/include/eigenpy/decompositions/sparse/SimplicialCholesky.hpp index 912674b5f..7fddd79d2 100644 --- a/include/eigenpy/decompositions/sparse/SimplicialCholesky.hpp +++ b/include/eigenpy/decompositions/sparse/SimplicialCholesky.hpp @@ -16,7 +16,7 @@ namespace eigenpy { template struct SimplicialCholeskyVisitor : public boost::python::def_visitor< - SimplicialCholeskyVisitor > { + SimplicialCholeskyVisitor> { typedef SimplicialDerived Solver; typedef typename SimplicialDerived::MatrixType MatrixType; diff --git a/include/eigenpy/decompositions/sparse/SparseSolverBase.hpp b/include/eigenpy/decompositions/sparse/SparseSolverBase.hpp index a1b3c8522..7ce3a2237 100644 --- a/include/eigenpy/decompositions/sparse/SparseSolverBase.hpp +++ b/include/eigenpy/decompositions/sparse/SparseSolverBase.hpp @@ -15,7 +15,7 @@ namespace eigenpy { template struct SparseSolverBaseVisitor : public boost::python::def_visitor< - SparseSolverBaseVisitor > { + SparseSolverBaseVisitor> { typedef SimplicialDerived Solver; typedef typename SimplicialDerived::MatrixType MatrixType; diff --git a/include/eigenpy/decompositions/sparse/accelerate/accelerate.hpp b/include/eigenpy/decompositions/sparse/accelerate/accelerate.hpp index 903c086fb..29cf9cdef 100644 --- a/include/eigenpy/decompositions/sparse/accelerate/accelerate.hpp +++ b/include/eigenpy/decompositions/sparse/accelerate/accelerate.hpp @@ -15,7 +15,7 @@ namespace eigenpy { template struct AccelerateImplVisitor : public boost::python::def_visitor< - AccelerateImplVisitor > { + AccelerateImplVisitor> { typedef AccelerateDerived Solver; typedef typename AccelerateDerived::MatrixType MatrixType; diff --git a/include/eigenpy/decompositions/sparse/cholmod/CholmodBase.hpp b/include/eigenpy/decompositions/sparse/cholmod/CholmodBase.hpp index 9df15099e..9cb5e54a4 100644 --- a/include/eigenpy/decompositions/sparse/cholmod/CholmodBase.hpp +++ b/include/eigenpy/decompositions/sparse/cholmod/CholmodBase.hpp @@ -15,7 +15,7 @@ namespace eigenpy { template struct CholmodBaseVisitor - : public boost::python::def_visitor > { + : public boost::python::def_visitor> { typedef CholdmodDerived Solver; typedef typename CholdmodDerived::MatrixType MatrixType; diff --git a/include/eigenpy/decompositions/sparse/cholmod/CholmodDecomposition.hpp b/include/eigenpy/decompositions/sparse/cholmod/CholmodDecomposition.hpp index 0e2076ca9..2525169ca 100644 --- a/include/eigenpy/decompositions/sparse/cholmod/CholmodDecomposition.hpp +++ b/include/eigenpy/decompositions/sparse/cholmod/CholmodDecomposition.hpp @@ -13,7 +13,7 @@ namespace eigenpy { template struct CholmodDecompositionVisitor : public boost::python::def_visitor< - CholmodDecompositionVisitor > { + CholmodDecompositionVisitor> { typedef CholdmodDerived Solver; template diff --git a/include/eigenpy/decompositions/sparse/cholmod/CholmodSimplicialLDLT.hpp b/include/eigenpy/decompositions/sparse/cholmod/CholmodSimplicialLDLT.hpp index 0e257022f..9710628c7 100644 --- a/include/eigenpy/decompositions/sparse/cholmod/CholmodSimplicialLDLT.hpp +++ b/include/eigenpy/decompositions/sparse/cholmod/CholmodSimplicialLDLT.hpp @@ -14,7 +14,7 @@ namespace eigenpy { template struct CholmodSimplicialLDLTVisitor : public boost::python::def_visitor< - CholmodSimplicialLDLTVisitor > { + CholmodSimplicialLDLTVisitor> { typedef MatrixType_ MatrixType; typedef typename MatrixType::Scalar Scalar; typedef typename MatrixType::RealScalar RealScalar; diff --git a/include/eigenpy/decompositions/sparse/cholmod/CholmodSimplicialLLT.hpp b/include/eigenpy/decompositions/sparse/cholmod/CholmodSimplicialLLT.hpp index c84b2a1e6..c9404b00f 100644 --- a/include/eigenpy/decompositions/sparse/cholmod/CholmodSimplicialLLT.hpp +++ b/include/eigenpy/decompositions/sparse/cholmod/CholmodSimplicialLLT.hpp @@ -14,7 +14,7 @@ namespace eigenpy { template struct CholmodSimplicialLLTVisitor : public boost::python::def_visitor< - CholmodSimplicialLLTVisitor > { + CholmodSimplicialLLTVisitor> { typedef MatrixType_ MatrixType; typedef typename MatrixType::Scalar Scalar; typedef typename MatrixType::RealScalar RealScalar; diff --git a/include/eigenpy/decompositions/sparse/cholmod/CholmodSupernodalLLT.hpp b/include/eigenpy/decompositions/sparse/cholmod/CholmodSupernodalLLT.hpp index ca8fdfe67..ea818e2e4 100644 --- a/include/eigenpy/decompositions/sparse/cholmod/CholmodSupernodalLLT.hpp +++ b/include/eigenpy/decompositions/sparse/cholmod/CholmodSupernodalLLT.hpp @@ -14,7 +14,7 @@ namespace eigenpy { template struct CholmodSupernodalLLTVisitor : public boost::python::def_visitor< - CholmodSupernodalLLTVisitor > { + CholmodSupernodalLLTVisitor> { typedef MatrixType_ MatrixType; typedef typename MatrixType::Scalar Scalar; typedef typename MatrixType::RealScalar RealScalar; diff --git a/include/eigenpy/details.hpp b/include/eigenpy/details.hpp index 538812abe..6da39f3a2 100644 --- a/include/eigenpy/details.hpp +++ b/include/eigenpy/details.hpp @@ -31,8 +31,8 @@ struct expose_eigen_type_impl, Scalar> { // to-python EigenToPyConverter::registration(); #if EIGEN_VERSION_AT_LEAST(3, 2, 0) - EigenToPyConverter >::registration(); - EigenToPyConverter >::registration(); + EigenToPyConverter>::registration(); + EigenToPyConverter>::registration(); #endif // from-python @@ -67,9 +67,9 @@ struct expose_eigen_type_impl, // to-python EigenToPyConverter::registration(); - EigenToPyConverter >::registration(); + EigenToPyConverter>::registration(); EigenToPyConverter< - const Eigen::TensorRef >::registration(); + const Eigen::TensorRef>::registration(); // from-python EigenFromPyConverter::registration(); diff --git a/include/eigenpy/eigen-allocator.hpp b/include/eigenpy/eigen-allocator.hpp index 3b47a9a19..2b4c88252 100644 --- a/include/eigenpy/eigen-allocator.hpp +++ b/include/eigenpy/eigen-allocator.hpp @@ -98,7 +98,7 @@ template -struct check_swap_impl > +struct check_swap_impl> : check_swap_impl_matrix {}; template @@ -127,7 +127,7 @@ struct check_swap_impl_tensor { }; template -struct check_swap_impl > +struct check_swap_impl> : check_swap_impl_tensor {}; #endif @@ -294,11 +294,11 @@ template struct eigen_allocator_impl_matrix; template -struct eigen_allocator_impl > +struct eigen_allocator_impl> : eigen_allocator_impl_matrix {}; template -struct eigen_allocator_impl > +struct eigen_allocator_impl> : eigen_allocator_impl_matrix {}; template @@ -362,12 +362,12 @@ template struct eigen_allocator_impl_tensor; template -struct eigen_allocator_impl > +struct eigen_allocator_impl> : eigen_allocator_impl_tensor {}; template struct eigen_allocator_impl > + const Eigen::TensorBase> : eigen_allocator_impl_tensor {}; template @@ -462,7 +462,7 @@ inline bool is_arr_layout_compatible_with_mat_type(PyArrayObject *pyArray) { } template -struct eigen_allocator_impl_matrix > { +struct eigen_allocator_impl_matrix> { typedef Eigen::Ref RefType; typedef typename MatType::Scalar Scalar; @@ -523,7 +523,7 @@ struct eigen_allocator_impl_matrix > { template struct eigen_allocator_impl_matrix< - const Eigen::Ref > { + const Eigen::Ref> { typedef const Eigen::Ref RefType; typedef typename MatType::Scalar Scalar; @@ -590,14 +590,14 @@ template struct eigen_allocator_impl_tensor_ref; template -struct eigen_allocator_impl_tensor > +struct eigen_allocator_impl_tensor> : eigen_allocator_impl_tensor_ref > {}; + Eigen::TensorRef> {}; template -struct eigen_allocator_impl_tensor > +struct eigen_allocator_impl_tensor> : eigen_allocator_impl_tensor_ref< - const TensorType, const Eigen::TensorRef > {}; + const TensorType, const Eigen::TensorRef> {}; template struct eigen_allocator_impl_tensor_ref { diff --git a/include/eigenpy/eigen-from-python.hpp b/include/eigenpy/eigen-from-python.hpp index 80cc582d3..0d0ab4ace 100644 --- a/include/eigenpy/eigen-from-python.hpp +++ b/include/eigenpy/eigen-from-python.hpp @@ -17,7 +17,7 @@ template -struct expected_pytype_for_arg > { +struct expected_pytype_for_arg> { static PyTypeObject const *get_pytype() { PyTypeObject const *py_type = eigenpy::getPyArrayType(); return py_type; @@ -33,9 +33,9 @@ namespace converter { template struct expected_pytype_for_arg< - Eigen::Matrix > + Eigen::Matrix> : eigenpy::expected_pytype_for_arg< - Eigen::Matrix > {}; + Eigen::Matrix> {}; } // namespace converter } // namespace python @@ -277,7 +277,7 @@ struct eigen_from_py_impl { }; template -struct eigen_from_py_impl > { +struct eigen_from_py_impl> { typedef typename MatType::Scalar Scalar; /// \brief Determine if pyObj can be converted into a MatType object @@ -296,7 +296,7 @@ template {}; template -void *eigen_from_py_impl >::convertible( +void *eigen_from_py_impl>::convertible( PyObject *pyObj) { if (!call_PyArray_Check(reinterpret_cast(pyObj))) return 0; @@ -398,13 +398,13 @@ void *eigen_from_py_impl >::convertible( } template -void eigen_from_py_impl >::construct( +void eigen_from_py_impl>::construct( PyObject *pyObj, bp::converter::rvalue_from_python_stage1_data *memory) { eigen_from_py_construct(pyObj, memory); } template -void eigen_from_py_impl >::registration() { +void eigen_from_py_impl>::registration() { bp::converter::registry::push_back( reinterpret_cast(&eigen_from_py_impl::convertible), &eigen_from_py_impl::construct, bp::type_id() @@ -423,7 +423,7 @@ template struct EigenFromPyConverter : eigen_from_py_converter_impl {}; template -struct eigen_from_py_converter_impl > { +struct eigen_from_py_converter_impl> { static void registration() { EigenFromPy::registration(); @@ -452,7 +452,7 @@ struct eigen_from_py_converter_impl > { }; template -struct EigenFromPy > : EigenFromPy { +struct EigenFromPy> : EigenFromPy { typedef EigenFromPy EigenFromPyDerived; typedef Eigen::MatrixBase Base; @@ -487,7 +487,7 @@ struct EigenFromPy, typename MatType::Scalar> }; template -struct EigenFromPy > : EigenFromPy { +struct EigenFromPy> : EigenFromPy { typedef EigenFromPy EigenFromPyDerived; typedef Eigen::PlainObjectBase Base; @@ -506,7 +506,7 @@ struct EigenFromPy > : EigenFromPy { #if EIGEN_VERSION_AT_LEAST(3, 2, 0) template -struct EigenFromPy > { +struct EigenFromPy> { typedef Eigen::Ref RefType; typedef typename MatType::Scalar Scalar; @@ -531,7 +531,7 @@ struct EigenFromPy > { }; template -struct EigenFromPy > { +struct EigenFromPy> { typedef const Eigen::Ref ConstRefType; typedef typename MatType::Scalar Scalar; diff --git a/include/eigenpy/eigen-to-python.hpp b/include/eigenpy/eigen-to-python.hpp index 529883049..bc7365749 100644 --- a/include/eigenpy/eigen-to-python.hpp +++ b/include/eigenpy/eigen-to-python.hpp @@ -28,19 +28,19 @@ template struct eigen_to_py_impl_matrix; template -struct eigen_to_py_impl > +struct eigen_to_py_impl> : eigen_to_py_impl_matrix {}; template -struct eigen_to_py_impl > +struct eigen_to_py_impl> : eigen_to_py_impl_matrix {}; template -struct eigen_to_py_impl > +struct eigen_to_py_impl> : eigen_to_py_impl_matrix {}; template -struct eigen_to_py_impl > +struct eigen_to_py_impl> : eigen_to_py_impl_matrix {}; template @@ -81,19 +81,19 @@ template struct eigen_to_py_impl_sparse_matrix; template -struct eigen_to_py_impl > +struct eigen_to_py_impl> : eigen_to_py_impl_sparse_matrix {}; template -struct eigen_to_py_impl > +struct eigen_to_py_impl> : eigen_to_py_impl_sparse_matrix {}; template -struct eigen_to_py_impl > +struct eigen_to_py_impl> : eigen_to_py_impl_sparse_matrix {}; template -struct eigen_to_py_impl > +struct eigen_to_py_impl> : eigen_to_py_impl_sparse_matrix {}; template @@ -124,11 +124,11 @@ template struct eigen_to_py_impl_tensor; template -struct eigen_to_py_impl > +struct eigen_to_py_impl> : eigen_to_py_impl_tensor {}; template -struct eigen_to_py_impl > +struct eigen_to_py_impl> : eigen_to_py_impl_tensor {}; template diff --git a/include/eigenpy/eigen/EigenBase.hpp b/include/eigenpy/eigen/EigenBase.hpp index 262e7b2d9..2a589faf7 100644 --- a/include/eigenpy/eigen/EigenBase.hpp +++ b/include/eigenpy/eigen/EigenBase.hpp @@ -11,7 +11,7 @@ namespace eigenpy { template struct EigenBaseVisitor - : public boost::python::def_visitor > { + : public boost::python::def_visitor> { template void visit(PyClass &cl) const { cl.def("cols", &Derived::cols, bp::arg("self"), diff --git a/include/eigenpy/eigenpy.hpp b/include/eigenpy/eigenpy.hpp index 5bbdc1b63..fba4a8aeb 100644 --- a/include/eigenpy/eigenpy.hpp +++ b/include/eigenpy/eigenpy.hpp @@ -66,9 +66,9 @@ EIGEN_DONT_INLINE void exposeType() { exposeType(); #ifdef EIGENPY_WITH_TENSOR_SUPPORT - enableEigenPySpecific >(); - enableEigenPySpecific >(); - enableEigenPySpecific >(); + enableEigenPySpecific>(); + enableEigenPySpecific>(); + enableEigenPySpecific>(); #endif } diff --git a/include/eigenpy/fwd.hpp b/include/eigenpy/fwd.hpp index 23b1a31fb..2b348a70c 100644 --- a/include/eigenpy/fwd.hpp +++ b/include/eigenpy/fwd.hpp @@ -169,14 +169,14 @@ template struct get_eigen_plain_type; template -struct get_eigen_plain_type > { +struct get_eigen_plain_type> { typedef typename Eigen::internal::traits< - Eigen::Ref >::PlainObjectType type; + Eigen::Ref>::PlainObjectType type; }; #ifdef EIGENPY_WITH_TENSOR_SUPPORT template -struct get_eigen_plain_type > { +struct get_eigen_plain_type> { typedef TensorType type; }; #endif diff --git a/include/eigenpy/id.hpp b/include/eigenpy/id.hpp index af56d79f1..578338230 100644 --- a/include/eigenpy/id.hpp +++ b/include/eigenpy/id.hpp @@ -15,7 +15,7 @@ namespace eigenpy { /// exposed with Boost.Python /// template -struct IdVisitor : public bp::def_visitor > { +struct IdVisitor : public bp::def_visitor> { template void visit(PyClass& cl) const { cl.def("id", &id, bp::arg("self"), diff --git a/include/eigenpy/map.hpp b/include/eigenpy/map.hpp index b22bc8b23..9bfdf77b7 100644 --- a/include/eigenpy/map.hpp +++ b/include/eigenpy/map.hpp @@ -23,7 +23,7 @@ namespace eigenpy { template struct overload_base_get_item_for_map : public boost::python::def_visitor< - overload_base_get_item_for_map > { + overload_base_get_item_for_map> { typedef typename Container::value_type value_type; typedef typename Container::value_type::second_type data_type; typedef typename Container::key_type key_type; @@ -165,9 +165,8 @@ struct dict_to_map { /// and set_item() using emplace(). template struct emplace_set_derived_policies - : bp::map_indexing_suite< - Container, NoProxy, - emplace_set_derived_policies > { + : bp::map_indexing_suite> { typedef typename Container::key_type index_type; typedef typename Container::value_type::second_type data_type; typedef typename Container::value_type value_type; @@ -185,7 +184,7 @@ struct emplace_set_derived_policies namespace mpl = boost::mpl; typedef typename mpl::if_< - mpl::and_, mpl::bool_ >, + mpl::and_, mpl::bool_>, bp::return_internal_reference<>, bp::default_call_policies>::type get_data_return_policy; diff --git a/include/eigenpy/numpy-allocator.hpp b/include/eigenpy/numpy-allocator.hpp index 4dd5f7e09..6c5fc4c9c 100644 --- a/include/eigenpy/numpy-allocator.hpp +++ b/include/eigenpy/numpy-allocator.hpp @@ -20,13 +20,13 @@ struct numpy_allocator_impl_matrix; template struct numpy_allocator_impl< - MatType, Eigen::MatrixBase::type> > + MatType, Eigen::MatrixBase::type>> : numpy_allocator_impl_matrix {}; template struct numpy_allocator_impl< const MatType, - const Eigen::MatrixBase::type> > + const Eigen::MatrixBase::type>> : numpy_allocator_impl_matrix {}; // template @@ -35,7 +35,7 @@ struct numpy_allocator_impl< //{}; template -struct numpy_allocator_impl > +struct numpy_allocator_impl> : numpy_allocator_impl_matrix {}; template struct numpy_allocator_impl_tensor; template -struct numpy_allocator_impl > +struct numpy_allocator_impl> : numpy_allocator_impl_tensor {}; template struct numpy_allocator_impl > + const Eigen::TensorBase> : numpy_allocator_impl_tensor {}; template @@ -120,7 +120,7 @@ struct numpy_allocator_impl_matrix { #if EIGEN_VERSION_AT_LEAST(3, 2, 0) template -struct numpy_allocator_impl_matrix > { +struct numpy_allocator_impl_matrix> { typedef Eigen::Ref RefType; static PyArrayObject *allocate(RefType &mat, npy_intp nd, npy_intp *shape) { @@ -190,7 +190,7 @@ struct numpy_allocator_impl_matrix { template struct numpy_allocator_impl_matrix< - const Eigen::Ref > { + const Eigen::Ref> { typedef const Eigen::Ref RefType; static PyArrayObject *allocate(RefType &mat, npy_intp nd, npy_intp *shape) { @@ -233,7 +233,7 @@ struct numpy_allocator_impl_matrix< #ifdef EIGENPY_WITH_TENSOR_SUPPORT template -struct numpy_allocator_impl_tensor > { +struct numpy_allocator_impl_tensor> { typedef Eigen::TensorRef RefType; static PyArrayObject *allocate(RefType &tensor, npy_intp nd, @@ -266,7 +266,7 @@ struct numpy_allocator_impl_tensor > { }; template -struct numpy_allocator_impl_tensor > { +struct numpy_allocator_impl_tensor> { typedef const Eigen::TensorRef RefType; static PyArrayObject *allocate(RefType &tensor, npy_intp nd, diff --git a/include/eigenpy/numpy-map.hpp b/include/eigenpy/numpy-map.hpp index e73f1f42d..0e1216e0f 100644 --- a/include/eigenpy/numpy-map.hpp +++ b/include/eigenpy/numpy-map.hpp @@ -24,13 +24,13 @@ struct numpy_map_impl; template struct numpy_map_impl > + Eigen::MatrixBase> : numpy_map_impl_matrix {}; template struct numpy_map_impl > + const Eigen::MatrixBase> : numpy_map_impl_matrix {}; @@ -183,13 +183,13 @@ struct numpy_map_impl_tensor; template struct numpy_map_impl > + Eigen::TensorBase> : numpy_map_impl_tensor {}; template struct numpy_map_impl > + const Eigen::TensorBase> : numpy_map_impl_tensor {}; diff --git a/include/eigenpy/numpy.hpp b/include/eigenpy/numpy.hpp index f4b7419f1..cdc644288 100644 --- a/include/eigenpy/numpy.hpp +++ b/include/eigenpy/numpy.hpp @@ -187,15 +187,15 @@ struct NumpyEquivalentType { }; template <> -struct NumpyEquivalentType > { +struct NumpyEquivalentType> { enum { type_code = NPY_CFLOAT }; }; template <> -struct NumpyEquivalentType > { +struct NumpyEquivalentType> { enum { type_code = NPY_CDOUBLE }; }; template <> -struct NumpyEquivalentType > { +struct NumpyEquivalentType> { enum { type_code = NPY_CLONGDOUBLE }; }; diff --git a/include/eigenpy/optional.hpp b/include/eigenpy/optional.hpp index 5daffd5bd..5e123fd5e 100644 --- a/include/eigenpy/optional.hpp +++ b/include/eigenpy/optional.hpp @@ -25,12 +25,12 @@ namespace python { namespace converter { template -struct expected_pytype_for_arg > +struct expected_pytype_for_arg> : expected_pytype_for_arg {}; #ifdef EIGENPY_WITH_CXX17_SUPPORT template -struct expected_pytype_for_arg > : expected_pytype_for_arg { +struct expected_pytype_for_arg> : expected_pytype_for_arg { }; #endif @@ -88,7 +88,7 @@ struct OptionalToPython { } static void registration() { - if (!check_registration >()) { + if (!check_registration>()) { bp::to_python_converter, OptionalToPython, true>(); } } @@ -122,7 +122,7 @@ void OptionalFromPython::construct( PyObject *obj_ptr, bp::converter::rvalue_from_python_stage1_data *memory) { // create storage using rvalue_storage_t = - bp::converter::rvalue_from_python_storage >; + bp::converter::rvalue_from_python_storage>; void *storage = reinterpret_cast(reinterpret_cast(memory)) ->storage.bytes; @@ -140,8 +140,8 @@ void OptionalFromPython::construct( template class OptionalTpl> void OptionalFromPython::registration() { bp::converter::registry::push_back( - &convertible, &construct, bp::type_id >(), - bp::converter::expected_pytype_for_arg >::get_pytype); + &convertible, &construct, bp::type_id>(), + bp::converter::expected_pytype_for_arg>::get_pytype); } } // namespace detail diff --git a/include/eigenpy/quaternion.hpp b/include/eigenpy/quaternion.hpp index 69a72b9ea..3f3220c69 100644 --- a/include/eigenpy/quaternion.hpp +++ b/include/eigenpy/quaternion.hpp @@ -21,7 +21,7 @@ struct rvalue_from_python_data const&> }; template -struct implicit > { +struct implicit> { typedef Quaternion Source; typedef Eigen::QuaternionBase Target; @@ -69,7 +69,7 @@ template class QuaternionVisitor; template -struct call > { +struct call> { typedef Eigen::Quaternion Quaternion; static inline void expose() { QuaternionVisitor::expose(); } @@ -82,7 +82,7 @@ struct call > { template class QuaternionVisitor - : public bp::def_visitor > { + : public bp::def_visitor> { typedef Eigen::QuaternionBase QuaternionBase; typedef typename QuaternionBase::Scalar Scalar; diff --git a/include/eigenpy/scalar-conversion.hpp b/include/eigenpy/scalar-conversion.hpp index 18a50a215..f1a57019b 100644 --- a/include/eigenpy/scalar-conversion.hpp +++ b/include/eigenpy/scalar-conversion.hpp @@ -20,7 +20,7 @@ struct FromTypeToType /// FromTypeToType specialization to manage std::complex template -struct FromTypeToType, std::complex > +struct FromTypeToType, std::complex> : public boost::mpl::if_c< std::is_same::value, std::true_type, typename boost::numeric::conversion_traits< diff --git a/include/eigenpy/scipy-allocator.hpp b/include/eigenpy/scipy-allocator.hpp index 0f471b896..6cb77d8f4 100644 --- a/include/eigenpy/scipy-allocator.hpp +++ b/include/eigenpy/scipy-allocator.hpp @@ -21,13 +21,13 @@ struct scipy_allocator_impl_sparse_matrix; template struct scipy_allocator_impl< MatType, - Eigen::SparseMatrixBase::type> > + Eigen::SparseMatrixBase::type>> : scipy_allocator_impl_sparse_matrix {}; template -struct scipy_allocator_impl< - const MatType, const Eigen::SparseMatrixBase< - typename remove_const_reference::type> > +struct scipy_allocator_impl::type>> : scipy_allocator_impl_sparse_matrix {}; // template @@ -37,7 +37,7 @@ struct scipy_allocator_impl< template struct scipy_allocator_impl > + const Eigen::SparseMatrixBase> : scipy_allocator_impl_sparse_matrix {}; template struct BFGSPreconditionerBaseVisitor - : public bp::def_visitor > { + : public bp::def_visitor> { typedef Eigen::VectorXd VectorType; template void visit(PyClass& cl) const { @@ -46,7 +46,7 @@ struct BFGSPreconditionerBaseVisitor template struct LimitedBFGSPreconditionerBaseVisitor : public bp::def_visitor< - LimitedBFGSPreconditionerBaseVisitor > { + LimitedBFGSPreconditionerBaseVisitor> { template void visit(PyClass& cl) const { cl.def(PreconditionerBaseVisitor()) diff --git a/include/eigenpy/solvers/BasicPreconditioners.hpp b/include/eigenpy/solvers/BasicPreconditioners.hpp index fb65f2028..7e4cd7190 100644 --- a/include/eigenpy/solvers/BasicPreconditioners.hpp +++ b/include/eigenpy/solvers/BasicPreconditioners.hpp @@ -14,7 +14,7 @@ namespace eigenpy { template struct PreconditionerBaseVisitor - : public bp::def_visitor > { + : public bp::def_visitor> { typedef Eigen::MatrixXd MatrixType; typedef Eigen::VectorXd VectorType; @@ -51,7 +51,7 @@ struct PreconditionerBaseVisitor template struct DiagonalPreconditionerVisitor - : PreconditionerBaseVisitor > { + : PreconditionerBaseVisitor> { typedef Eigen::Matrix MatrixType; typedef Eigen::DiagonalPreconditioner Preconditioner; @@ -79,7 +79,7 @@ struct DiagonalPreconditionerVisitor template struct LeastSquareDiagonalPreconditionerVisitor : PreconditionerBaseVisitor< - Eigen::LeastSquareDiagonalPreconditioner > { + Eigen::LeastSquareDiagonalPreconditioner> { typedef Eigen::Matrix MatrixType; typedef Eigen::LeastSquareDiagonalPreconditioner Preconditioner; diff --git a/include/eigenpy/solvers/ConjugateGradient.hpp b/include/eigenpy/solvers/ConjugateGradient.hpp index 1d3d71aff..f2fdf8699 100644 --- a/include/eigenpy/solvers/ConjugateGradient.hpp +++ b/include/eigenpy/solvers/ConjugateGradient.hpp @@ -15,7 +15,7 @@ namespace eigenpy { template struct ConjugateGradientVisitor : public boost::python::def_visitor< - ConjugateGradientVisitor > { + ConjugateGradientVisitor> { typedef typename ConjugateGradient::MatrixType MatrixType; template diff --git a/include/eigenpy/solvers/IterativeSolverBase.hpp b/include/eigenpy/solvers/IterativeSolverBase.hpp index 561a5ab89..670bde3d2 100644 --- a/include/eigenpy/solvers/IterativeSolverBase.hpp +++ b/include/eigenpy/solvers/IterativeSolverBase.hpp @@ -12,7 +12,7 @@ namespace eigenpy { template struct IterativeSolverVisitor : public boost::python::def_visitor< - IterativeSolverVisitor > { + IterativeSolverVisitor> { typedef typename IterativeSolver::MatrixType MatrixType; typedef typename IterativeSolver::Preconditioner Preconditioner; typedef Eigen::VectorXd VectorType; diff --git a/include/eigenpy/solvers/LeastSquaresConjugateGradient.hpp b/include/eigenpy/solvers/LeastSquaresConjugateGradient.hpp index 21464ae61..043d3d7fb 100644 --- a/include/eigenpy/solvers/LeastSquaresConjugateGradient.hpp +++ b/include/eigenpy/solvers/LeastSquaresConjugateGradient.hpp @@ -14,8 +14,8 @@ namespace eigenpy { template struct LeastSquaresConjugateGradientVisitor - : public boost::python::def_visitor > { + : public boost::python::def_visitor< + LeastSquaresConjugateGradientVisitor> { typedef Eigen::MatrixXd MatrixType; template diff --git a/include/eigenpy/solvers/SparseSolverBase.hpp b/include/eigenpy/solvers/SparseSolverBase.hpp index 9874be789..f4f2bdad1 100644 --- a/include/eigenpy/solvers/SparseSolverBase.hpp +++ b/include/eigenpy/solvers/SparseSolverBase.hpp @@ -11,7 +11,7 @@ namespace eigenpy { template struct SparseSolverVisitor - : public bp::def_visitor > { + : public bp::def_visitor> { typedef Eigen::VectorXd VectorType; template diff --git a/include/eigenpy/sparse/eigen-from-python.hpp b/include/eigenpy/sparse/eigen-from-python.hpp index 40da5e2eb..1b57e0142 100644 --- a/include/eigenpy/sparse/eigen-from-python.hpp +++ b/include/eigenpy/sparse/eigen-from-python.hpp @@ -14,7 +14,7 @@ namespace eigenpy { template struct expected_pytype_for_arg > { + Eigen::SparseMatrixBase> { static PyTypeObject const *get_pytype() { PyTypeObject const *py_type = ScipyType::get_pytype(); return py_type; @@ -29,9 +29,9 @@ namespace converter { template struct expected_pytype_for_arg< - Eigen::SparseMatrix > + Eigen::SparseMatrix> : eigenpy::expected_pytype_for_arg< - Eigen::SparseMatrix > {}; + Eigen::SparseMatrix> {}; template struct rvalue_from_python_data< @@ -78,7 +78,7 @@ namespace eigenpy { template struct eigen_from_py_impl > { + Eigen::SparseMatrixBase> { typedef typename SparseMatrixType::Scalar Scalar; /// \brief Determine if pyObj can be converted into a MatType object @@ -94,7 +94,7 @@ struct eigen_from_py_impl void *eigen_from_py_impl< SparseMatrixType, - Eigen::SparseMatrixBase >::convertible(PyObject *pyObj) { + Eigen::SparseMatrixBase>::convertible(PyObject *pyObj) { const PyTypeObject *type = Py_TYPE(pyObj); const PyTypeObject *sparse_matrix_py_type = ScipyType::get_pytype(); @@ -168,7 +168,7 @@ void eigen_sparse_matrix_from_py_construct( template void eigen_from_py_impl >:: + Eigen::SparseMatrixBase>:: construct(PyObject *pyObj, bp::converter::rvalue_from_python_stage1_data *memory) { eigen_sparse_matrix_from_py_construct(pyObj, memory); @@ -177,7 +177,7 @@ void eigen_from_py_impl void eigen_from_py_impl< SparseMatrixType, - Eigen::SparseMatrixBase >::registration() { + Eigen::SparseMatrixBase>::registration() { bp::converter::registry::push_back( reinterpret_cast(&eigen_from_py_impl::convertible), &eigen_from_py_impl::construct, bp::type_id() @@ -189,8 +189,8 @@ void eigen_from_py_impl< } template -struct eigen_from_py_converter_impl< - SparseMatrixType, Eigen::SparseMatrixBase > { +struct eigen_from_py_converter_impl> { static void registration() { EigenFromPy::registration(); @@ -209,7 +209,7 @@ struct eigen_from_py_converter_impl< }; template -struct EigenFromPy > +struct EigenFromPy> : EigenFromPy { typedef EigenFromPy EigenFromPyDerived; typedef Eigen::SparseMatrixBase Base; diff --git a/include/eigenpy/std-array.hpp b/include/eigenpy/std-array.hpp index 19ea821b4..7226a4ddf 100644 --- a/include/eigenpy/std-array.hpp +++ b/include/eigenpy/std-array.hpp @@ -21,13 +21,13 @@ template class final_array_derived_policies : public array_indexing_suite< Container, NoProxy, SliceAllocator, - final_array_derived_policies > {}; + final_array_derived_policies> {}; } // namespace details template , class DerivedPolicies = details::final_array_derived_policies< - Container, NoProxy, SliceAllocator> > + Container, NoProxy, SliceAllocator>> class array_indexing_suite : public bp::vector_indexing_suite { public: @@ -108,7 +108,7 @@ class array_indexing_suite /// std::vector (dynamic size). template > + std::allocator> struct StdArrayPythonVisitor { typedef typename array_type::value_type value_type; @@ -155,7 +155,7 @@ void exposeStdArrayEigenSpecificType(const char *name) { oss << Size << "_" << name; typedef std::array array_type; StdArrayPythonVisitor >:: + Eigen::aligned_allocator>:: expose(oss.str(), details::overload_base_get_item_for_std_vector()); } diff --git a/include/eigenpy/std-map.hpp b/include/eigenpy/std-map.hpp index a6aca840e..5e2038f39 100644 --- a/include/eigenpy/std-map.hpp +++ b/include/eigenpy/std-map.hpp @@ -30,7 +30,7 @@ using ::eigenpy::overload_base_get_item_for_std_map; * returned to Python. */ template , - class Allocator = std::allocator >, + class Allocator = std::allocator>, bool NoProxy = false> struct StdMapPythonVisitor : GenericMapVisitor, NoProxy> {}; diff --git a/include/eigenpy/std-unique-ptr.hpp b/include/eigenpy/std-unique-ptr.hpp index dfc9f5a13..c7b43d1a3 100644 --- a/include/eigenpy/std-unique-ptr.hpp +++ b/include/eigenpy/std-unique-ptr.hpp @@ -137,7 +137,7 @@ namespace python { template struct to_python_value&> : eigenpy::details::StdUniquePtrResultConverter::apply< - std::unique_ptr >::type {}; + std::unique_ptr>::type {}; } // namespace python } // namespace boost diff --git a/include/eigenpy/std-vector.hpp b/include/eigenpy/std-vector.hpp index 651cfd1a2..f2cf821e0 100644 --- a/include/eigenpy/std-vector.hpp +++ b/include/eigenpy/std-vector.hpp @@ -77,7 +77,7 @@ struct build_list { template struct overload_base_get_item_for_std_vector : public boost::python::def_visitor< - overload_base_get_item_for_std_vector > { + overload_base_get_item_for_std_vector> { typedef typename Container::value_type value_type; typedef typename Container::value_type data_type; typedef size_t index_type; @@ -129,7 +129,7 @@ namespace python { template struct extract_to_eigen_ref - : converter::extract_rvalue > { + : converter::extract_rvalue> { typedef Eigen::Ref RefType; protected: @@ -150,7 +150,7 @@ template struct extract &> : extract_to_eigen_ref< - Eigen::Matrix > { + Eigen::Matrix> { typedef Eigen::Matrix MatrixType; typedef extract_to_eigen_ref base; @@ -160,7 +160,7 @@ struct extract &> template struct extract &> - : extract_to_eigen_ref > { + : extract_to_eigen_ref> { typedef Eigen::MatrixBase MatrixType; typedef extract_to_eigen_ref base; extract(PyObject *o) : base(o) {} @@ -169,7 +169,7 @@ struct extract &> template struct extract &> - : extract_to_eigen_ref > { + : extract_to_eigen_ref> { typedef Eigen::RefBase MatrixType; typedef extract_to_eigen_ref base; extract(PyObject *o) : base(o) {} @@ -247,7 +247,7 @@ struct container_traits { }; template -struct container_traits > { +struct container_traits> { typedef void Allocator; }; }; // namespace details @@ -322,7 +322,7 @@ namespace internal { template >::value> + std::is_base_of>::value> struct contains_algo; template @@ -349,7 +349,7 @@ template struct contains_vector_derived_policies : public ::boost::python::vector_indexing_suite< Container, NoProxy, - contains_vector_derived_policies > { + contains_vector_derived_policies> { typedef typename Container::value_type key_type; static bool contains(Container &container, key_type const &key) { @@ -365,7 +365,7 @@ struct contains_vector_derived_policies template struct ExposeStdMethodToStdVector : public boost::python::def_visitor< - ExposeStdMethodToStdVector > { + ExposeStdMethodToStdVector> { typedef StdContainerFromPythonList FromPythonListConverter; @@ -454,7 +454,7 @@ struct StdVectorPythonVisitor { // Standard vector indexing definition boost::python::vector_indexing_suite< vector_type, NoProxy, - internal::contains_vector_derived_policies > + internal::contains_vector_derived_policies> vector_indexing; cl.def(bp::init( @@ -480,7 +480,7 @@ struct StdVectorPythonVisitor { */ void EIGENPY_DLLAPI exposeStdVector(); -template > +template > void exposeStdVectorEigenSpecificType(const char *name) { typedef std::vector VecMatType; std::string full_name = "StdVec_"; diff --git a/include/eigenpy/stride.hpp b/include/eigenpy/stride.hpp index 416809865..6903a03d3 100644 --- a/include/eigenpy/stride.hpp +++ b/include/eigenpy/stride.hpp @@ -27,7 +27,7 @@ struct stride_type; template struct stride_type > { + Eigen::MatrixBase> { typedef typename stride_type_matrix::type type; @@ -35,7 +35,7 @@ struct stride_type struct stride_type > { + const Eigen::MatrixBase> { typedef typename stride_type_matrix::type type; }; @@ -43,13 +43,13 @@ struct stride_type struct stride_type > { + Eigen::TensorBase> { typedef Eigen::Stride type; }; template struct stride_type > { + const Eigen::TensorBase> { typedef Eigen::Stride type; }; #endif diff --git a/include/eigenpy/tensor/eigen-from-python.hpp b/include/eigenpy/tensor/eigen-from-python.hpp index ed4fed0e9..1008fa34c 100644 --- a/include/eigenpy/tensor/eigen-from-python.hpp +++ b/include/eigenpy/tensor/eigen-from-python.hpp @@ -13,7 +13,7 @@ namespace eigenpy { template -struct expected_pytype_for_arg > { +struct expected_pytype_for_arg> { static PyTypeObject const *get_pytype() { PyTypeObject const *py_type = eigenpy::getPyArrayType(); return py_type; @@ -27,9 +27,9 @@ namespace python { namespace converter { template -struct expected_pytype_for_arg > +struct expected_pytype_for_arg> : eigenpy::expected_pytype_for_arg< - Eigen::Tensor > {}; + Eigen::Tensor> {}; template struct rvalue_from_python_data< @@ -75,7 +75,7 @@ struct referent_storage &> { namespace eigenpy { template -struct eigen_from_py_impl > { +struct eigen_from_py_impl> { typedef typename TensorType::Scalar Scalar; /// \brief Determine if pyObj can be converted into a MatType object @@ -90,7 +90,7 @@ struct eigen_from_py_impl > { template void * -eigen_from_py_impl >::convertible( +eigen_from_py_impl>::convertible( PyObject *pyObj) { if (!call_PyArray_Check(reinterpret_cast(pyObj))) return 0; @@ -119,14 +119,14 @@ eigen_from_py_impl >::convertible( } template -void eigen_from_py_impl >::construct( +void eigen_from_py_impl>::construct( PyObject *pyObj, bp::converter::rvalue_from_python_stage1_data *memory) { eigen_from_py_construct(pyObj, memory); } template void eigen_from_py_impl >::registration() { + Eigen::TensorBase>::registration() { bp::converter::registry::push_back( reinterpret_cast(&eigen_from_py_impl::convertible), &eigen_from_py_impl::construct, bp::type_id() @@ -138,8 +138,7 @@ void eigen_from_py_impl -struct eigen_from_py_converter_impl > { +struct eigen_from_py_converter_impl> { static void registration() { EigenFromPy::registration(); @@ -158,7 +157,7 @@ struct eigen_from_py_converter_impl -struct EigenFromPy > : EigenFromPy { +struct EigenFromPy> : EigenFromPy { typedef EigenFromPy EigenFromPyDerived; typedef Eigen::TensorBase Base; @@ -175,7 +174,7 @@ struct EigenFromPy > : EigenFromPy { }; template -struct EigenFromPy > { +struct EigenFromPy> { typedef Eigen::TensorRef RefType; typedef typename TensorType::Scalar Scalar; @@ -200,7 +199,7 @@ struct EigenFromPy > { }; template -struct EigenFromPy > { +struct EigenFromPy> { typedef const Eigen::TensorRef ConstRefType; typedef typename TensorType::Scalar Scalar; diff --git a/include/eigenpy/type_info.hpp b/include/eigenpy/type_info.hpp index 6601677a1..d2c793dcf 100644 --- a/include/eigenpy/type_info.hpp +++ b/include/eigenpy/type_info.hpp @@ -51,7 +51,7 @@ void expose_std_type_info() { /// \brief Add the Python method type_info to query information of a type. /// template -struct TypeInfoVisitor : public bp::def_visitor > { +struct TypeInfoVisitor : public bp::def_visitor> { template void visit(PyClass& cl) const { cl.def("type_info", &boost_type_info, bp::arg("self"), diff --git a/include/eigenpy/utils/scalar-name.hpp b/include/eigenpy/utils/scalar-name.hpp index 5ead2e836..6d3683e29 100644 --- a/include/eigenpy/utils/scalar-name.hpp +++ b/include/eigenpy/utils/scalar-name.hpp @@ -30,7 +30,7 @@ struct scalar_name { }; template -struct scalar_name > { +struct scalar_name> { static std::string shortname() { return "c" + scalar_name(); }; }; } // namespace eigenpy diff --git a/include/eigenpy/utils/traits.hpp b/include/eigenpy/utils/traits.hpp index b7525dea9..e99efaea0 100644 --- a/include/eigenpy/utils/traits.hpp +++ b/include/eigenpy/utils/traits.hpp @@ -31,11 +31,11 @@ struct is_python_complex : std::false_type {}; /// From boost/python/converter/builtin_converters template <> -struct is_python_complex > : std::true_type {}; +struct is_python_complex> : std::true_type {}; template <> -struct is_python_complex > : std::true_type {}; +struct is_python_complex> : std::true_type {}; template <> -struct is_python_complex > : std::true_type {}; +struct is_python_complex> : std::true_type {}; template struct is_python_primitive_type_helper diff --git a/include/eigenpy/variant.hpp b/include/eigenpy/variant.hpp index bf787c3fc..100ce3f6d 100644 --- a/include/eigenpy/variant.hpp +++ b/include/eigenpy/variant.hpp @@ -42,7 +42,7 @@ struct is_empty_variant : std::false_type {}; /// std::variant implementation template -struct VariantVisitorType > { +struct VariantVisitorType> { typedef std::variant variant_type; typedef ResultType result_type; @@ -58,12 +58,12 @@ struct VariantVisitorType > { }; template -struct VariantAlternatives > { +struct VariantAlternatives> { typedef boost::mpl::vector types; }; template -struct empty_variant > { +struct empty_variant> { typedef std::monostate type; }; @@ -74,7 +74,7 @@ struct is_empty_variant : std::true_type {}; /// boost::variant implementation template -struct VariantVisitorType > +struct VariantVisitorType> : boost::static_visitor { typedef boost::variant variant_type; typedef ResultType result_type; @@ -90,12 +90,12 @@ struct VariantVisitorType > }; template -struct VariantAlternatives > { +struct VariantAlternatives> { typedef typename boost::variant::types types; }; template -struct empty_variant > { +struct empty_variant> { typedef boost::blank type; }; diff --git a/python/main.cpp b/python/main.cpp index 966bb7998..19a643d99 100644 --- a/python/main.cpp +++ b/python/main.cpp @@ -78,7 +78,7 @@ BOOST_PYTHON_MODULE(eigenpy_pywrap) { } exposeIsApprox(); - exposeIsApprox >(); + exposeIsApprox>(); exposeDecompositions(); } diff --git a/src/decompositions/accelerate.cpp b/src/decompositions/accelerate.cpp index cf0b59b2d..8f2f05c16 100644 --- a/src/decompositions/accelerate.cpp +++ b/src/decompositions/accelerate.cpp @@ -21,8 +21,8 @@ void exposeAccelerate() { .value("SparseOrderMetis", SparseOrderMetis) .value("SparseOrderCOLAMD", SparseOrderCOLAMD); -#define EXPOSE_ACCELERATE_DECOMPOSITION(name, doc) \ - AccelerateImplVisitor >::expose( \ +#define EXPOSE_ACCELERATE_DECOMPOSITION(name, doc) \ + AccelerateImplVisitor>::expose( \ EIGENPY_STRINGIZE(name), doc) EXPOSE_ACCELERATE_DECOMPOSITION( diff --git a/src/matrix-complex-double.cpp b/src/matrix-complex-double.cpp index e3b144983..60dda94f5 100644 --- a/src/matrix-complex-double.cpp +++ b/src/matrix-complex-double.cpp @@ -6,7 +6,7 @@ namespace eigenpy { void exposeMatrixComplexDouble() { - exposeType >(); + exposeType>(); exposeType, Eigen::RowMajor>(); } } // namespace eigenpy diff --git a/src/matrix-complex-float.cpp b/src/matrix-complex-float.cpp index edccb23f9..4c1189bfe 100644 --- a/src/matrix-complex-float.cpp +++ b/src/matrix-complex-float.cpp @@ -6,7 +6,7 @@ namespace eigenpy { void exposeMatrixComplexFloat() { - exposeType >(); + exposeType>(); exposeType, Eigen::RowMajor>(); } } // namespace eigenpy diff --git a/src/matrix-complex-long-double.cpp b/src/matrix-complex-long-double.cpp index 7a97623b5..2a7744ff5 100644 --- a/src/matrix-complex-long-double.cpp +++ b/src/matrix-complex-long-double.cpp @@ -6,7 +6,7 @@ namespace eigenpy { void exposeMatrixComplexLongDouble() { - exposeType >(); + exposeType>(); exposeType, Eigen::RowMajor>(); } } // namespace eigenpy diff --git a/src/solvers/solvers.cpp b/src/solvers/solvers.cpp index 1ed5d5d32..207eb6e76 100644 --- a/src/solvers/solvers.cpp +++ b/src/solvers/solvers.cpp @@ -17,16 +17,15 @@ namespace eigenpy { void exposeSolvers() { using namespace Eigen; ConjugateGradientVisitor< - ConjugateGradient >::expose(); + ConjugateGradient>::expose(); #if EIGEN_VERSION_AT_LEAST(3, 3, 5) LeastSquaresConjugateGradientVisitor > >::expose(); + MatrixXd, LeastSquareDiagonalPreconditioner>>::expose(); #endif // Conjugate gradient with limited BFGS preconditioner ConjugateGradientVisitor< - ConjugateGradient >:: + ConjugateGradient>:: expose("IdentityConjugateGradient"); // ConjugateGradientVisitor< // ConjugateGradient diff --git a/unittest/bind_virtual_factory.cpp b/unittest/bind_virtual_factory.cpp index 3bfab6dd7..d142e3657 100644 --- a/unittest/bind_virtual_factory.cpp +++ b/unittest/bind_virtual_factory.cpp @@ -74,7 +74,7 @@ struct VirtualClassWrapper : MyVirtualClass, bp::wrapper { shared_ptr createData() const override { if (bp::override fo = this->get_override("createData")) { bp::object result = fo().as(); - return bp::extract >(result); + return bp::extract>(result); } return default_createData(); } @@ -136,7 +136,7 @@ BOOST_PYTHON_MODULE(bind_virtual_factory) { .def("createData", &MyVirtualClass::createData, &VirtualClassWrapper::default_createData, bp::args("self")); - bp::register_ptr_to_python >(); + bp::register_ptr_to_python>(); /// Trampoline used as 1st argument /// otherwise if passed as "HeldType", we need to define /// the constructor and call initializer manually. diff --git a/unittest/complex.cpp b/unittest/complex.cpp index 387b04d36..f4420cae5 100644 --- a/unittest/complex.cpp +++ b/unittest/complex.cpp @@ -56,7 +56,7 @@ template Eigen::Matrix, Rows, Cols, Options> ascomplex( const Eigen::Matrix &mat) { typedef Eigen::Matrix, Rows, Cols, Options> ReturnType; - return ReturnType(mat.template cast >()); + return ReturnType(mat.template cast>()); } BOOST_PYTHON_MODULE(complex) { diff --git a/unittest/matrix.cpp b/unittest/matrix.cpp index e9fcf1947..ec7533463 100644 --- a/unittest/matrix.cpp +++ b/unittest/matrix.cpp @@ -196,38 +196,38 @@ BOOST_PYTHON_MODULE(matrix) { bp::def("asRowMajorFromRowMajorVector", copy); - bp::def("copyBoolToBool", copy_same >); + bp::def("copyBoolToBool", copy_same>); - bp::def("copyInt8ToInt8", copy_same >); - bp::def("copyCharToChar", copy_same >); - bp::def("copyUCharToUChar", copy_same >); + bp::def("copyInt8ToInt8", copy_same>); + bp::def("copyCharToChar", copy_same>); + bp::def("copyUCharToUChar", copy_same>); - bp::def("copyInt16ToInt16", copy_same >); - bp::def("copyUInt16ToUInt16", copy_same >); + bp::def("copyInt16ToInt16", copy_same>); + bp::def("copyUInt16ToUInt16", copy_same>); - bp::def("copyInt32ToInt32", copy_same >); - bp::def("copyUInt32ToUInt32", copy_same >); + bp::def("copyInt32ToInt32", copy_same>); + bp::def("copyUInt32ToUInt32", copy_same>); - bp::def("copyInt64ToInt64", copy_same >); - bp::def("copyUInt64ToUInt64", copy_same >); + bp::def("copyInt64ToInt64", copy_same>); + bp::def("copyUInt64ToUInt64", copy_same>); - bp::def("copyLongToLong", copy_same >); - bp::def("copyULongToULong", copy_same >); + bp::def("copyLongToLong", copy_same>); + bp::def("copyULongToULong", copy_same>); bp::def("copyLongLongToLongLong", - copy_same >); + copy_same>); bp::def("copyULongLongToULongLong", - copy_same >); + copy_same>); - bp::def("copyFloatToFloat", copy_same >); - bp::def("copyDoubleToDouble", copy_same >); + bp::def("copyFloatToFloat", copy_same>); + bp::def("copyDoubleToDouble", copy_same>); bp::def("copyLongDoubleToLongDouble", - copy_same >); + copy_same>); bp::def("copyCFloatToCFloat", - copy_same, -1, -1> >); + copy_same, -1, -1>>); bp::def("copyCDoubleToCDouble", - copy_same, -1, -1> >); + copy_same, -1, -1>>); bp::def("copyCLongDoubleToCLongDouble", - copy_same, -1, -1> >); + copy_same, -1, -1>>); } diff --git a/unittest/return_by_ref.cpp b/unittest/return_by_ref.cpp index 8ec7125b6..474bf5fc2 100644 --- a/unittest/return_by_ref.cpp +++ b/unittest/return_by_ref.cpp @@ -26,8 +26,7 @@ void expose_matrix_class(const std::string& name) { using namespace Eigen; namespace bp = boost::python; - bp::class_ >(name.c_str(), - bp::init()) + bp::class_>(name.c_str(), bp::init()) .def("show", &Base::show) .def("ref", &Base::ref, bp::return_internal_reference<>()) .def("const_ref", &Base::const_ref, diff --git a/unittest/sparse_matrix.cpp b/unittest/sparse_matrix.cpp index 6e9572473..2bec178db 100644 --- a/unittest/sparse_matrix.cpp +++ b/unittest/sparse_matrix.cpp @@ -26,7 +26,7 @@ Eigen::SparseMatrix matrix1x1(const Scalar& value) { template Eigen::SparseMatrix diagonal( - const Eigen::Ref >& + const Eigen::Ref>& diag_values) { typedef Eigen::SparseMatrix ReturnType; ReturnType mat(diag_values.size(), diag_values.size()); diff --git a/unittest/std_map.cpp b/unittest/std_map.cpp index 6edc455b1..dc25bc918 100644 --- a/unittest/std_map.cpp +++ b/unittest/std_map.cpp @@ -39,10 +39,10 @@ BOOST_PYTHON_MODULE(std_map) { eigenpy::StdMapPythonVisitor< std::string, double, std::less, - std::allocator >, + std::allocator>, true>::expose("StdMap_Double"); - eigenpy::GenericMapVisitor >::expose( + eigenpy::GenericMapVisitor>::expose( "boost_map_int"); using StdMap_X = std::map; diff --git a/unittest/std_unique_ptr.cpp b/unittest/std_unique_ptr.cpp index a95a5d247..5e63acdf7 100644 --- a/unittest/std_unique_ptr.cpp +++ b/unittest/std_unique_ptr.cpp @@ -27,8 +27,8 @@ std::unique_ptr make_unique_str() { return std::make_unique("str"); } -std::unique_ptr > make_unique_complex() { - return std::make_unique >(1., 0.); +std::unique_ptr> make_unique_complex() { + return std::make_unique>(1., 0.); } struct UniquePtrHolder { @@ -36,13 +36,13 @@ struct UniquePtrHolder { : int_ptr(std::make_unique(20)), v1_ptr(std::make_unique(200)), str_ptr(std::make_unique("str")), - complex_ptr(std::make_unique >(1., 0.)) {} + complex_ptr(std::make_unique>(1., 0.)) {} std::unique_ptr int_ptr; std::unique_ptr v1_ptr; std::unique_ptr null_ptr; std::unique_ptr str_ptr; - std::unique_ptr > complex_ptr; + std::unique_ptr> complex_ptr; }; BOOST_PYTHON_MODULE(std_unique_ptr) { diff --git a/unittest/std_vector.cpp b/unittest/std_vector.cpp index 429f5bb53..75a660b7f 100644 --- a/unittest/std_vector.cpp +++ b/unittest/std_vector.cpp @@ -9,7 +9,7 @@ template void printVectorOfMatrix( - const std::vector > &Ms) { + const std::vector> &Ms) { const std::size_t n = Ms.size(); for (std::size_t i = 0; i < n; i++) { std::cout << "el[" << i << "] =\n" << Ms[i] << '\n'; @@ -17,14 +17,14 @@ void printVectorOfMatrix( } template -std::vector > copy( - const std::vector > &Ms) { - std::vector > out = Ms; +std::vector> copy( + const std::vector> &Ms) { + std::vector> out = Ms; return out; } template -void setZero(std::vector > &Ms) { +void setZero(std::vector> &Ms) { for (std::size_t i = 0; i < Ms.size(); i++) { Ms[i].setZero(); } @@ -58,14 +58,14 @@ BOOST_PYTHON_MODULE(std_vector) { // Mat2d don't have tolist, reserve, mutable __getitem__ and from list // conversion // exposeStdVectorEigenSpecificType must add those methods to StdVec_Mat2d - bp::class_ >("StdVec_Mat2d") - .def(boost::python::vector_indexing_suite< - std::vector >()); + bp::class_>("StdVec_Mat2d") + .def( + boost::python::vector_indexing_suite>()); exposeStdVectorEigenSpecificType("Mat2d"); // Test API regression: // Exposing a `std::vector` with documentation doesn't clash with // exposing a `std::vector` with a visitor - StdVectorPythonVisitor >::expose( + StdVectorPythonVisitor>::expose( "StdVec_CustomTestStruct", "some documentation"); } diff --git a/unittest/user_type.cpp b/unittest/user_type.cpp index dddf8fe6e..2adbac43e 100644 --- a/unittest/user_type.cpp +++ b/unittest/user_type.cpp @@ -16,7 +16,7 @@ namespace Eigen { /// @brief Eigen::NumTraits<> specialization for casadi::SX /// template -struct NumTraits > { +struct NumTraits> { typedef CustomType Real; typedef CustomType NonInteger; typedef CustomType Literal; From 991ee507a2d76288d806b3367195176d3e6d1fbe Mon Sep 17 00:00:00 2001 From: ManifoldFR Date: Fri, 25 Apr 2025 13:53:30 +0200 Subject: [PATCH 4/5] .git-blame-ignore-revs : update --- .git-blame-ignore-revs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index 9730cdeed..634fd1c8e 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -6,3 +6,6 @@ # pre-commit run -a (Guilhem Saurel, 2024-02-19) 0bae435330ee475f8dbb11bf5e672284d294d9b3 + +# pre-commit run -a (ManifoldFR, 2025-04-25) +51b49061575d46e0668eba0da200217cbfd9e883 From 26e9525e27fc86d42d23983d8c66d327131e2ac7 Mon Sep 17 00:00:00 2001 From: ManifoldFR Date: Fri, 25 Apr 2025 13:54:06 +0200 Subject: [PATCH 5/5] Update CHANGELOG --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0bb810a01..3c7546e64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Fix handling of non sorted sparse matrix ([#538](https://github.com/stack-of-tasks/eigenpy/pull/538)) +### Changed + +- Update clang-format standard to C++11, reformat code + ## [3.10.3] - 2025-02-11 ### Added