Fix for commit 41227 (Some opening comment tags (/*) were lost!).

This commit is contained in:
Bastien Montagne
2011-10-23 19:39:20 +00:00
parent 82c84f4b58
commit 8a6a3dbb54
7 changed files with 22 additions and 22 deletions

View File

@@ -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;
}