Another set of UI messages fixes and tweaks! No functional changes.

This commit is contained in:
Bastien Montagne
2011-10-23 19:54:06 +00:00
parent 8a6a3dbb54
commit c49cdf5eec
8 changed files with 25 additions and 24 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.cwise().abs().maxCoeff();
e_scalar maxQdot = m_qdot.array().abs().maxCoeff();
if (timestep*maxQdot > m_maxDeltaQ) {
timestep = m_maxDeltaQ/maxQdot;
}