Analot to https://github.com/stack-of-tasks/eigenpy/issues/98, https://github.com/stack-of-tasks/pinocchio/issues/914