Skip to content

Commit

Permalink
removed wrong assert
Browse files Browse the repository at this point in the history
  • Loading branch information
joschu committed Jun 25, 2013
1 parent 98a844f commit f83ca4f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/trajopt/bullet_collision_checker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,6 @@ void BulletCollisionChecker::UpdateAllowedCollisionMatrix() {
const KinBody::Link* linkB = pair.second;
const CollisionObjectWrapper* cowA = GetCow(linkA);
const CollisionObjectWrapper* cowB = GetCow(linkB);
assert(cowA != NULL && cowB != NULL);
if (cowA != NULL && cowB != NULL) {
m_allowedCollisionMatrix(cowA->m_index, cowB->m_index) = 0;
m_allowedCollisionMatrix(cowB->m_index, cowA->m_index) = 0;
Expand Down

0 comments on commit f83ca4f

Please sign in to comment.