Verified Commit 758c694a authored by Justin Carpentier's avatar Justin Carpentier
Browse files

spatial: add missing noalias

parent cdf90b84
......@@ -301,7 +301,7 @@ namespace pinocchio
Vector10 v;
v[0] = mass();
v.template segment<3>(1) = mass() * lever();
v.template segment<3>(1).noalias() = mass() * lever();
v.template segment<6>(4) = (inertia() - AlphaSkewSquare(mass(),lever())).data();
return v;
......
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