Skip to content

Commit 1a31c55

Browse files
committed
Spline - Add isEqual Method
1 parent b9192fa commit 1a31c55

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/pinocchio/multibody/joint/joint-spline.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ namespace pinocchio
198198
using Base::isEqual;
199199
bool isEqual(const JointModelSplineTpl & other) const
200200
{
201-
return Base::isEqual(other);
201+
return Base::isEqual(other) && other.degree == degree && other.nbCtrlFrames == nbCtrlFrames
202+
&& other.ctrlFrames == ctrlFrames;
202203
}
203204

204205
template<typename ConfigVector>

0 commit comments

Comments
 (0)