diff --git a/examples/Importers/ImportURDFDemo/URDF2Bullet.cpp b/examples/Importers/ImportURDFDemo/URDF2Bullet.cpp index 2df69c430..fcee5a150 100644 --- a/examples/Importers/ImportURDFDemo/URDF2Bullet.cpp +++ b/examples/Importers/ImportURDFDemo/URDF2Bullet.cpp @@ -285,9 +285,9 @@ void ConvertURDF2BulletInternal( if (!(flags & CUF_USE_URDF_INERTIA)) { compoundShape->calculateLocalInertia(mass, localInertiaDiagonal); - assert(localInertiaDiagonal[0] < 1e10); - assert(localInertiaDiagonal[1] < 1e10); - assert(localInertiaDiagonal[2] < 1e10); + btAssert(localInertiaDiagonal[0] < 1e10); + btAssert(localInertiaDiagonal[1] < 1e10); + btAssert(localInertiaDiagonal[2] < 1e10); } URDFLinkContactInfo contactInfo; u2b.getLinkContactInfo(urdfLinkIndex,contactInfo);