Skip to content

Commit

Permalink
fixed getters for constraint bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
skleff1994 committed Nov 10, 2023
1 parent 73acfe6 commit 41a998e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions include/crocoddyl/core/action-base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,12 @@ class ActionModelAbstractTpl {
/**
* @brief Return the lower bound of the inequality constraints
*/
const VectorXs& get_g_lb() const;
virtual const VectorXs& get_g_lb() const;

/**
* @brief Return the upper bound of the inequality constraints
*/
const VectorXs& get_g_ub() const;
virtual const VectorXs& get_g_ub() const;

/**
* @brief Return the control lower bound
Expand Down
4 changes: 2 additions & 2 deletions include/crocoddyl/core/diff-action-base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,12 +278,12 @@ class DifferentialActionModelAbstractTpl {
/**
* @brief Return the lower bound of the inequality constraints
*/
const VectorXs& get_g_lb() const;
virtual const VectorXs& get_g_lb() const;

/**
* @brief Return the upper bound of the inequality constraints
*/
const VectorXs& get_g_ub() const;
virtual const VectorXs& get_g_ub() const;

/**
* @brief Return the control lower bound
Expand Down

0 comments on commit 41a998e

Please sign in to comment.