diff options
Diffstat (limited to 'intern/itasc/CopyPose.cpp')
-rw-r--r-- | intern/itasc/CopyPose.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/itasc/CopyPose.cpp b/intern/itasc/CopyPose.cpp index a9d4c2f0a2a..133d6de2069 100644 --- a/intern/itasc/CopyPose.cpp +++ b/intern/itasc/CopyPose.cpp @@ -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).array().abs().maxCoeff(); + e_scalar maxChidot = m_chidot.block(3,0,3,1).cwise().abs().maxCoeff(); if (timestep*maxChidot > m_maxDeltaChi) { timestep = m_maxDeltaChi/maxChidot; } |