Commit 853b73b9 authored by Justin Carpentier's avatar Justin Carpentier

spatial/explog: use const_cast when needed

parent 8075e2e2
......@@ -188,7 +188,7 @@ namespace pinocchio
Scalar t;
Vector3 w(log3(quat,t));
pinocchio::Jlog3(t,w,Jlog);
pinocchio::Jlog3(t,w,PINOCCHIO_EIGEN_CONST_CAST(Matrix3Like,Jlog));
}
} // namespace quaternion
}
......
......@@ -233,7 +233,7 @@ namespace pinocchio
Scalar t;
Vector3 w(log3(R,t));
Jlog3(t,w,Jlog);
Jlog3(t,w,PINOCCHIO_EIGEN_CONST_CAST(Matrix3Like2,Jlog));
}
///
......
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