@@ -70,15 +70,15 @@ namespace roboptim
7070 // / Polyhedron vector attribute is used to compute capsule and set
7171 // / capsuleParam attribute.
7272 // / \param initParam initial capsule parameters
73- void computeBestFitCapsule (const argument_t & initParam);
73+ void computeBestFitCapsule (const_argument_ref initParam);
7474
7575 // / \brief Compute best fitting capsule over polyhedron vector.
7676 // /
7777 // / \param polyhedron Polyhedron over which the capsule is
7878 // / fitted
7979 // / \param initParam initial capsule parameters
8080 void computeBestFitCapsule (const polyhedrons_t & polyhedrons,
81- const argument_t & initParam);
81+ const_argument_ref initParam);
8282
8383 // / \brief Compute best fitting capsule over polyhedron vector.
8484 // /
@@ -87,7 +87,7 @@ namespace roboptim
8787 // /
8888 // / \param initParam initial capsule parameters
8989 // / \return capsule parameters
90- const argument_t computeBestFitCapsuleParam (const argument_t &
90+ const argument_t computeBestFitCapsuleParam (const_argument_ref
9191 initParam);
9292
9393 // / \brief Compute best fitting capsule over polyhedron.
@@ -99,7 +99,7 @@ namespace roboptim
9999 // / \return capsule parameters
100100 const argument_t computeBestFitCapsuleParam (const polyhedrons_t &
101101 polyhedrons,
102- const argument_t &
102+ const_argument_ref
103103 initParam);
104104
105105 protected:
@@ -109,8 +109,8 @@ namespace roboptim
109109 // / \param initParam initial capsule parameters
110110 // / \return solutionParam solution capsule parameters
111111 void impl_computeBestFitCapsuleParam (const polyhedrons_t & polyhedrons,
112- const argument_t & initParam,
113- argument_t & solutionParam);
112+ const_argument_ref initParam,
113+ argument_ref solutionParam);
114114
115115 private:
116116 // / \brief Polyhedron vector attribute.
0 commit comments