Skip to content

Commit

Permalink
Change the signature of LinearizedFrictionCone::initialize()
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRomualdi committed Apr 26, 2021
1 parent ccdc259 commit 17ad226
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class LinearizedFrictionCone
* | `static_friction_coefficient` | `double` | Static friction coefficient. |
* @return true in case of success/false otherwise.
*/
bool initialize(std::weak_ptr<ParametersHandler::IParametersHandler> handler);
bool initialize(std::weak_ptr<const ParametersHandler::IParametersHandler> handler);

/**
* Get the matrix A.
Expand Down
2 changes: 1 addition & 1 deletion src/Math/src/LinearizedFrictionCone.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

using namespace BipedalLocomotion::Math;

bool LinearizedFrictionCone::initialize(std::weak_ptr<ParametersHandler::IParametersHandler> handler)
bool LinearizedFrictionCone::initialize(std::weak_ptr<const ParametersHandler::IParametersHandler> handler)
{
constexpr auto errorPrefix = "[LinearizedFrictionCone::initialize]";

Expand Down

0 comments on commit 17ad226

Please sign in to comment.