fix compile issue

This commit is contained in:
erwincoumans
2019-01-23 19:25:12 -08:00
parent 587500dc16
commit 66f4b276ec

View File

@@ -1793,7 +1793,7 @@ void cKinTree::MirrorPoseStance(const Eigen::MatrixXd& joint_mat, const std::vec
{
int param_offset = cKinTree::GetParamOffset(joint_mat, j);
int param_size = cKinTree::GetParamSize(joint_mat, j);
Eigen::VectorBlock<Eigen::VectorXd>& joint_params = out_pose.segment(param_offset, param_size);
Eigen::VectorBlock<Eigen::VectorXd> joint_params = out_pose.segment(param_offset, param_size);
if (joint_type == cKinTree::eJointTypeRevolute
|| joint_type == cKinTree::eJointTypeFixed)