git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@358 92aac97c-a6ce-11dd-a772-7fcde58d38e6

This commit is contained in:
chappuis.daniel 2010-07-19 19:27:42 +00:00
parent 3ccc537378
commit 367f6b3cac

View File

@ -65,6 +65,8 @@ void ConstraintSolver::allocate() {
}
}
assert(nbConstraints > 0);
// Compute the number of bodies that are part of some active constraint
nbBodies = bodyNumberMapping.size();