Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2011-10-23 23:39:20 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2011-10-23 23:39:20 +0400
commit8a6a3dbb547bc87759fda875ad2fdd85bb32835c (patch)
tree8f9be67a532db092c26bb9f3eb91ea9309b94b8f /intern/itasc/ControlledObject.cpp
parent82c84f4b58e0d836361a2cadc9ce2941a3d4ff39 (diff)
Fix for commit 41227 (Some opening comment tags (/*) were lost!).
Diffstat (limited to 'intern/itasc/ControlledObject.cpp')
-rw-r--r--intern/itasc/ControlledObject.cpp2
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;
}