Commit 89ad1d6b authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Fix Device::numberDof

parent 6e2a5204
......@@ -159,14 +159,14 @@ namespace hpp {
configSize () const
{
assert(model_);
return model_->nq+extraConfigSpace_.dimension();
return model_->nq + extraConfigSpace_.dimension();
}
size_type Device::
numberDof () const
{
assert(model_);
return model_->nv;
return model_->nv + extraConfigSpace_.dimension();
}
/* ---------------------------------------------------------------------- */
......
Supports Markdown
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