Commit a11653c1 authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

[DifferentiableFunction] Fix operator==

  - ConvexShape::operator== return true if objects are equal,
  - QPStaticStability::isEqual does not use private member of parent class
    anymore.
parent 934e7839
Pipeline #16521 passed with stage
in 18 minutes and 41 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