Verified Commit a1cab998 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

core/visitors: fix types

parent ffb17510
......@@ -552,10 +552,10 @@ namespace pinocchio
typedef boost::fusion::vector<const JointDataDerived &> ArgsType;
template<typename JointData>
static bool algo(const JointDataBase<JointModel> & jdata_lhs,
static bool algo(const JointDataBase<JointData> & jdata_lhs,
const JointDataDerived & jdata_rhs)
{
return jdata_lhs == jdata_rhs;
return jdata_lhs.derived() == jdata_rhs;
}
};
......
Markdown is supported
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