Fix for commit 41227 (Some opening comment tags (/*) were lost!).

This commit is contained in:
Bastien Montagne
2011-10-23 19:39:20 +00:00
parent 82c84f4b58
commit 8a6a3dbb54
7 changed files with 22 additions and 22 deletions

View File

@@ -54,7 +54,7 @@ const e_matrix& ControlledObject::getJq(unsigned int ee) const
double ControlledObject::getMaxTimestep(double& timestep)
{
e_scalar maxQdot = m_qdot.array().abs().maxCoeff();
e_scalar maxQdot = m_qdot.cwise().abs().maxCoeff();
if (timestep*maxQdot > m_maxDeltaQ) {
timestep = m_maxDeltaQ/maxQdot;
}