diff --git a/bindings/python/crocoddyl/core/numdiff/action.hpp b/bindings/python/crocoddyl/core/numdiff/action.hpp index 9e0c6edfcdf6986cc7e1a521c868b693b7ce5b81..9cbdc478ccc93aa48c450976ced38c26ec590f6e 100644 --- a/bindings/python/crocoddyl/core/numdiff/action.hpp +++ b/bindings/python/crocoddyl/core/numdiff/action.hpp @@ -19,11 +19,10 @@ namespace bp = boost::python; void exposeActionNumDiff() { bp::class_<ActionModelNumDiff, bp::bases<ActionModelAbstract> >( "ActionModelNumDiff", "Abstract class for computing calcDiff by using numerical differentiation.\n\n", - bp::init<ActionModelAbstract&>( - bp::args(" self", " model"), - "Initialize the action model NumDiff.\n\n" - ":param model: action model where we compute the derivatives through NumDiff" - )[bp::with_custodian_and_ward<1, 2>()]) + bp::init<ActionModelAbstract&>(bp::args(" self", " model"), + "Initialize the action model NumDiff.\n\n" + ":param model: action model where we compute the derivatives through NumDiff") + [bp::with_custodian_and_ward<1, 2>()]) .def("calc", &ActionModelNumDiff::calc_wrap, ActionModel_calc_wraps(bp::args(" self", " data", " x", " u=None"), "Compute the next state and cost value.\n\n" diff --git a/include/crocoddyl/core/numdiff/action.hpp b/include/crocoddyl/core/numdiff/action.hpp index fcf7eabd85b522cae71f356dc57e9119fffd584d..0497dcce966c0fec1288384a632887ba0cd1285a 100644 --- a/include/crocoddyl/core/numdiff/action.hpp +++ b/include/crocoddyl/core/numdiff/action.hpp @@ -66,7 +66,7 @@ class ActionModelNumDiff : public ActionModelAbstract { */ void calc(const boost::shared_ptr<ActionDataAbstract>& data, const Eigen::Ref<const Eigen::VectorXd>& x, const Eigen::Ref<const Eigen::VectorXd>& u); - + /** * @brief @copydoc ActionDataAbstract::calcDiff() */ @@ -75,30 +75,30 @@ class ActionModelNumDiff : public ActionModelAbstract { /** * @brief Create a Data object from the given model. - * - * @return boost::shared_ptr<ActionDataAbstract> + * + * @return boost::shared_ptr<ActionDataAbstract> */ boost::shared_ptr<ActionDataAbstract> createData(); /** * @brief Get the model_ object - * - * @return ActionModelAbstract& + * + * @return ActionModelAbstract& */ ActionModelAbstract& get_model() const; /** * @brief Get the disturbance_ object - * - * @return const double& + * + * @return const double& */ const double& get_disturbance() const; /** * @brief Identify if the Gauss approximation is going to be used or not. - * - * @return true - * @return false + * + * @return true + * @return false */ bool get_with_gauss_approx();