Skip to content
Snippets Groups Projects
Commit d7d07c25 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

use Eigen::DenseIndex to fix build on eigen3.2, fix #50

parent 584c525d
No related branches found
Tags v0.0.4
No related merge requests found
......@@ -340,7 +340,7 @@ compute_xff_dotSOUT( dynamicgraph::Vector& res,
const dynamicgraph::Matrix & J = jacobianSIN( time );
const dynamicgraph::Vector & dq = qdotSIN( time );
const Eigen::Index nr=J.rows(), nc=J.cols()-6;
const Eigen::DenseIndex nr=J.rows(), nc=J.cols()-6;
assert( nr==6 );
dynamicgraph::Matrix Ja( nr,nc ); dynamicgraph::Vector dqa(nc);
for( int j=0;j<nc;++j )
......@@ -367,7 +367,7 @@ compute_qdotSOUT( dynamicgraph::Vector& res,
assert( dx.size()==6 );
const Eigen::Index nr=dq.size();
const Eigen::DenseIndex nr=dq.size();
res.resize( nr ); res=dq;
for( int i=0;i<6;++i ) res(i)=dx(i);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment