Commit 8fa6d849 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Fix compilation error

parent 84d82547
......@@ -39,7 +39,7 @@ namespace hpp {
const Eigen::MatrixBase<ConfigR_t> & q1,
const typename ConfigL_t::Scalar& w)
{
return w * squaredDistance_impl(q0, q1);
return w * squaredDistance(q0, q1);
}
};
} // namespace liegroup
......
......@@ -39,8 +39,8 @@ namespace hpp {
const Eigen::MatrixBase<ConfigR_t> & q1,
const typename ConfigL_t::Scalar& w)
{
if (rot) return w * squaredDistance_impl(q0, q1);
else return squaredDistance_impl(q0, q1);
if (rot) return w * squaredDistance(q0, q1);
else return squaredDistance(q0, q1);
}
};
} // namespace liegroup
......
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