xbpeng / DeepTerrainRL

terrain-adaptive locomotion skills using deep reinforcement learning
GNU Lesser General Public License v3.0
432 stars 129 forks source link

Remove an unnecessary null pointer check #3

Closed elfring closed 8 years ago

elfring commented 8 years ago

An extra null pointer check is not needed in the function "cWorld::tConstraintHandle::Clear".

xbpeng commented 8 years ago

got it, thanks for pointing that out. Will fix.

elfring commented 8 years ago

Thanks for your small source code improvement.