Verified Commit 4cb1fe00 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

spatial/inertia: add workaround for WIndows compiler

parent 307dc50b
Pipeline #11542 failed with stage
in 140 minutes and 58 seconds
......@@ -181,7 +181,8 @@ namespace pinocchio
Matrix3 I3 (mc_cross * mc_cross);
I3 /= mass();
I3 += I6.template block<3,3>(ANGULAR,ANGULAR);
inertia() = Symmetric3(I3);
const Symmetric3 S3(I3);
inertia() = S3;
}
InertiaTpl(Scalar mass, const Vector3 & com, const Symmetric3 & rotational_inertia)
......
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