reactphysics3d
reactphysics3d copied to clipboard
assert(std::abs(determinant) > MACHINE_EPSILON)
Hey,
I'm innocently using ReactPhysics3D and am getting this assert raised... and not sure how to go around debugging it.
Ian

This is the stack trace if it helps.
Sorry, I think I missed this issue.
Do you still having some issues ? Can you share some code so that I can try to reproduce this issue ?
Hey,
I'm innocently using ReactPhysics3D and am getting this assert raised... and not sure how to go around debugging it.
Ian
Hi there, in my opinion, that assertion just means that the determinant is zero (or too small), hence the matrix you calculated its determinant, is not invertible, which means that does not have a solution because one of the rows can be eliminated by substitution of another row in the matrix, i.e. some of the rows in the matrix is a linear combination of some other, they are not linearly dependent.
I am closing this issue. Feel free to reopen it if you have a code example that is failing with this error.