Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit 701c42c

Browse files
authored
Merge pull request #61 from Simple-Robotics/wjallet/topic/fix-eigenpy-3.3
Fix for eigenpy 3.3
2 parents 5b623f9 + 13c8378 commit 701c42c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased]
99

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

1213
## [0.3.4] - 2024-01-19
1314

include/proxsuite-nlp/constraint-base.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ template <typename _Scalar> struct ConstraintObjectTpl {
140140
shared_ptr<ConstraintSet> set)
141141
: func_(func), set_(set) {}
142142

143-
bool operator==(const ConstraintObjectTpl &other) {
143+
bool operator==(const ConstraintObjectTpl &other) const {
144144
return (func_ == other.func_) && (set_ && other.set_);
145145
}
146146
};

0 commit comments

Comments
 (0)