[ODE] Assertion failing in test_buggy
Remi Ricard
remi.ricard at simlog.com
Thu Jun 1 09:30:25 MST 2006
Hi,
I'm having a problem with my program.
In the function dLDLTRemove on line 347. I'm dividing by d[i] and d[i]
is zero. So I was looking around and found something.
You can uncomment the #define DEBUG_LCP in the file lcp.cpp to
checkPermutation on the LDL matrix.
I was having assertion error in my code so I decided to test with
test_buggy.
As the buggy touch the ground I'm getting assertion "p[k] >=0 && p[k] <
i failed in .\ode\lcp.cpp:350"
This is p:
p = {3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 19, 0, 22, 17, 18,
2, 1, 20, 21, 23, 24};
i = 15, n = 25, nC = 15, nN = 0, k = 12
So we test for (p[12]=15) < 15 and this fail !!
I'm using the dLCP_FAST.
So my questions are:
Is this normal ?
The checkPermutation is still uptodate ?
What should I do to fix this ?
Remi
More information about the ODE
mailing list