Skip to content

Commit

Permalink
Merge pull request #61 from Simple-Robotics/wjallet/topic/fix-eigenpy…
Browse files Browse the repository at this point in the history
…-3.3

Fix for eigenpy 3.3
  • Loading branch information
jorisv committed Jan 23, 2024
2 parents 5b623f9 + 13c8378 commit 701c42c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]

* Add missing dependencies in `package.xml`: pinocchio, eigen.
* Fix `ConstraintObjectTpl::operator==` constness (mandatory for eigenpy 3.3)

## [0.3.4] - 2024-01-19

Expand Down
2 changes: 1 addition & 1 deletion include/proxsuite-nlp/constraint-base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ template <typename _Scalar> struct ConstraintObjectTpl {
shared_ptr<ConstraintSet> set)
: func_(func), set_(set) {}

bool operator==(const ConstraintObjectTpl &other) {
bool operator==(const ConstraintObjectTpl &other) const {
return (func_ == other.func_) && (set_ && other.set_);
}
};
Expand Down

0 comments on commit 701c42c

Please sign in to comment.