reactphysics3d icon indicating copy to clipboard operation
reactphysics3d copied to clipboard

assert(std::abs(determinant) > MACHINE_EPSILON)

Open ghost opened this issue 5 years ago • 3 comments

Hey,

I'm innocently using ReactPhysics3D and am getting this assert raised... and not sure how to go around debugging it.

Ian

ghost avatar Apr 18 '20 09:04 ghost

image

This is the stack trace if it helps.

ghost avatar Apr 18 '20 09:04 ghost

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 ?

DanielChappuis avatar Aug 25 '20 10:08 DanielChappuis

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.

franciscotv avatar Sep 29 '20 02:09 franciscotv

I am closing this issue. Feel free to reopen it if you have a code example that is failing with this error.

DanielChappuis avatar Feb 13 '24 22:02 DanielChappuis