summaryrefslogtreecommitdiff
path: root/thirdparty/bullet/BulletInverseDynamics/MultiBodyTree.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-06-11 13:55:44 +0200
committerGitHub <noreply@github.com>2019-06-11 13:55:44 +0200
commitc499f1475f1c37c6d83985320a9e98a3d2711a2b (patch)
tree8ceaa6bc1d5deb40b7c5fc998041ecd63ad122d9 /thirdparty/bullet/BulletInverseDynamics/MultiBodyTree.cpp
parentf0bacf360dbb6ce3781356438b2fa7067250d27c (diff)
parent99acec63f175fecd7172c927263ed3787cb082d6 (diff)
Merge pull request #29418 from AndreaCatania/upbul
Updated Bullet version to the actual bullet master commit
Diffstat (limited to 'thirdparty/bullet/BulletInverseDynamics/MultiBodyTree.cpp')
-rw-r--r--thirdparty/bullet/BulletInverseDynamics/MultiBodyTree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/bullet/BulletInverseDynamics/MultiBodyTree.cpp b/thirdparty/bullet/BulletInverseDynamics/MultiBodyTree.cpp
index f150b5ae4c..9326b0d098 100644
--- a/thirdparty/bullet/BulletInverseDynamics/MultiBodyTree.cpp
+++ b/thirdparty/bullet/BulletInverseDynamics/MultiBodyTree.cpp
@@ -349,7 +349,7 @@ int MultiBodyTree::finalize()
const int &num_bodies = m_init_cache->numBodies();
const int &num_dofs = m_init_cache->numDoFs();
- if (num_dofs <= 0)
+ if (num_dofs < 0)
{
bt_id_error_message("Need num_dofs>=1, but num_dofs= %d\n", num_dofs);
//return -1;