Commit 806bab7b authored by Gabriele Buondonno's avatar Gabriele Buondonno
Browse files

[CartesianProduct/isNormalized] Use ref for prec

parent 0eb9d517
......@@ -229,7 +229,7 @@ namespace pinocchio
}
template <class Config_t>
bool isNormalized_impl (const Eigen::MatrixBase<Config_t>& qin, const Scalar prec) const
bool isNormalized_impl (const Eigen::MatrixBase<Config_t>& qin, const Scalar& prec) const
{
return lg1.isNormalized(Qo1(qin), prec) && lg2.isNormalized(Qo2(qin), prec);
}
......
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