Fix bug in pre-counting equality constraints.
PiperOrigin-RevId: 654031345 Change-Id: If8c660b3e6fed78d8fd8de470f1cf2a709ac1244
This commit is contained in:
committed by
Copybara-Service
parent
796173170c
commit
b3f79e561d
@@ -1656,7 +1656,6 @@ static int mj_ne(const mjModel* m, mjData* d, int* nnz) {
|
|||||||
|
|
||||||
if (id[1] >= 0) {
|
if (id[1] >= 0) {
|
||||||
NV = mju_combineSparseCount(NV, NV2, chain, chain2);
|
NV = mju_combineSparseCount(NV, NV2, chain, chain2);
|
||||||
NV = 2;
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user