diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2011-10-23 23:39:20 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2011-10-23 23:39:20 +0400 |
commit | 8a6a3dbb547bc87759fda875ad2fdd85bb32835c (patch) | |
tree | 8f9be67a532db092c26bb9f3eb91ea9309b94b8f /intern/itasc/ControlledObject.cpp | |
parent | 82c84f4b58e0d836361a2cadc9ce2941a3d4ff39 (diff) |
Fix for commit 41227 (Some opening comment tags (/*) were lost!).
Diffstat (limited to 'intern/itasc/ControlledObject.cpp')
-rw-r--r-- | intern/itasc/ControlledObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/itasc/ControlledObject.cpp b/intern/itasc/ControlledObject.cpp index 4055aad7768..773370b6d2e 100644 --- a/intern/itasc/ControlledObject.cpp +++ b/intern/itasc/ControlledObject.cpp @@ -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; } |