From 3b4cc4797ac18ab7263f87b1b40d4fecdc31e672 Mon Sep 17 00:00:00 2001 From: Megane Millan Date: Fri, 11 Oct 2024 17:26:24 +0200 Subject: [PATCH] Applied pre-commit --- include/pinocchio/algorithm/crba.hxx | 6 ++---- include/pinocchio/multibody/joint/joint-basic-visitors.hpp | 3 +-- include/pinocchio/multibody/joint/joint-basic-visitors.hxx | 3 +-- include/pinocchio/multibody/joint/joint-mimic.hpp | 3 +-- include/pinocchio/serialization/joints-data.hpp | 6 ++---- include/pinocchio/serialization/joints-model.hpp | 3 +-- unittest/joint-motion-subspace.cpp | 3 +-- 7 files changed, 9 insertions(+), 18 deletions(-) diff --git a/include/pinocchio/algorithm/crba.hxx b/include/pinocchio/algorithm/crba.hxx index dadd13ba9c..203b0a0468 100644 --- a/include/pinocchio/algorithm/crba.hxx +++ b/include/pinocchio/algorithm/crba.hxx @@ -63,8 +63,7 @@ namespace pinocchio typename JointModel, typename Scalar, int Options, - template - class JointCollectionTpl> + template class JointCollectionTpl> static inline void mimic_patch_CrbaWorldConventionBackwardStep( const JointModelBase &, const ModelTpl &, @@ -188,8 +187,7 @@ namespace pinocchio typename JointModel, typename Scalar, int Options, - template - class JointCollectionTpl> + template class JointCollectionTpl> static inline void mimic_patch_CrbaLocalConventionBackwardStep( const JointModelBase &, const ModelTpl &, diff --git a/include/pinocchio/multibody/joint/joint-basic-visitors.hpp b/include/pinocchio/multibody/joint/joint-basic-visitors.hpp index 7cb2d00418..a70833836b 100644 --- a/include/pinocchio/multibody/joint/joint-basic-visitors.hpp +++ b/include/pinocchio/multibody/joint/joint-basic-visitors.hpp @@ -482,8 +482,7 @@ namespace pinocchio template< typename Scalar, int Options, - template - class JointCollectionTpl, + template class JointCollectionTpl, typename ConfigVectorIn, typename ConfigVectorOut> void configVectorAffineTransform( diff --git a/include/pinocchio/multibody/joint/joint-basic-visitors.hxx b/include/pinocchio/multibody/joint/joint-basic-visitors.hxx index 61ba13f82c..3fef515c54 100644 --- a/include/pinocchio/multibody/joint/joint-basic-visitors.hxx +++ b/include/pinocchio/multibody/joint/joint-basic-visitors.hxx @@ -1008,8 +1008,7 @@ namespace pinocchio template< typename Scalar, int Options, - template - class JointCollectionTpl, + template class JointCollectionTpl, typename ConfigVectorIn, typename ConfigVectorOut> void configVectorAffineTransform( diff --git a/include/pinocchio/multibody/joint/joint-mimic.hpp b/include/pinocchio/multibody/joint/joint-mimic.hpp index da977040e8..3ad4f17f6c 100644 --- a/include/pinocchio/multibody/joint/joint-mimic.hpp +++ b/include/pinocchio/multibody/joint/joint-mimic.hpp @@ -622,8 +622,7 @@ namespace pinocchio typename NewScalar, typename Scalar, int Options, - template - class JointCollectionTpl> + template class JointCollectionTpl> struct CastType> { typedef JointModelMimicTpl type; diff --git a/include/pinocchio/serialization/joints-data.hpp b/include/pinocchio/serialization/joints-data.hpp index 9cf657a6d4..240629a1f5 100644 --- a/include/pinocchio/serialization/joints-data.hpp +++ b/include/pinocchio/serialization/joints-data.hpp @@ -66,8 +66,7 @@ namespace boost class Archive, typename Scalar, int Options, - template - class JointCollection> + template class JointCollection> void serialize( Archive & ar, pinocchio::JointDataBase> & @@ -264,8 +263,7 @@ namespace boost class Archive, typename Scalar, int Options, - template - typename JointCollection> + template typename JointCollection> void serialize( Archive & ar, pinocchio::JointDataMimicTpl & joint, diff --git a/include/pinocchio/serialization/joints-model.hpp b/include/pinocchio/serialization/joints-model.hpp index 45fec54d59..76e452d701 100644 --- a/include/pinocchio/serialization/joints-model.hpp +++ b/include/pinocchio/serialization/joints-model.hpp @@ -325,8 +325,7 @@ namespace boost class Archive, typename Scalar, int Options, - template - class JointCollectionTpl> + template class JointCollectionTpl> void serialize( Archive & ar, pinocchio::JointModelMimicTpl & joint, diff --git a/unittest/joint-motion-subspace.cpp b/unittest/joint-motion-subspace.cpp index 1a1a55b625..6c1c899d51 100644 --- a/unittest/joint-motion-subspace.cpp +++ b/unittest/joint-motion-subspace.cpp @@ -93,8 +93,7 @@ void test_nv_against_jmodel( template< typename Scalar, int Options, - template - class JointCollection, + template class JointCollection, typename ConstraintDerived> void test_nv_against_jmodel( const JointModelMimicTpl & jmodel,