diff options
Diffstat (limited to 'intern/itasc/CopyPose.cpp')
-rw-r--r-- | intern/itasc/CopyPose.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/itasc/CopyPose.cpp b/intern/itasc/CopyPose.cpp index 14c3e95a2f1..a9d4c2f0a2a 100644 --- a/intern/itasc/CopyPose.cpp +++ b/intern/itasc/CopyPose.cpp @@ -1,7 +1,7 @@ /** \file itasc/CopyPose.cpp * \ingroup itasc */ -/* $Id$ +/* * CopyPose.cpp * * Created on: Mar 17, 2009 @@ -473,7 +473,7 @@ double CopyPose::getMaxTimestep(double& timestep) // CopyPose should not have any limit on linear velocity: // in case the target is out of reach, this can be very high. // We will simply limit on rotation - e_scalar maxChidot = m_chidot.block(3,0,3,1).cwise().abs().maxCoeff(); + e_scalar maxChidot = m_chidot.block(3,0,3,1).array().abs().maxCoeff(); if (timestep*maxChidot > m_maxDeltaChi) { timestep = m_maxDeltaChi/maxChidot; } |