Unverified Commit e43e8116 authored by Guilhem Saurel's avatar Guilhem Saurel Committed by GitHub
Browse files

Merge pull request #145 from florent-lamiraux/devel

[DifferentiableFunction] Fix operator==
parents 934e7839 a11653c1
Pipeline #16738 passed with stage
in 2 minutes and 50 seconds
......@@ -166,6 +166,7 @@ namespace hpp {
if (Ls_ != other.Ls_) return false;
if (MinJoint_ != other.MinJoint_) return false;
if (joint_ != other.joint_) return false;
return true;
}
bool operator!=(ConvexShape const & other) const {
return !(this->operator==(other));
......
......@@ -78,7 +78,7 @@ namespace hpp {
if (!DifferentiableFunction::isEqual(other))
return false;
if (name_ != castother.name_)
if (name() != castother.name())
return false;
if (robot_ != castother.robot_)
return false;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment