Fix bug in pre-counting equality constraints.

PiperOrigin-RevId: 654031345
Change-Id: If8c660b3e6fed78d8fd8de470f1cf2a709ac1244
This commit is contained in:
Kyle Bayes
2024-07-19 09:32:49 -07:00
committed by Copybara-Service
parent 796173170c
commit b3f79e561d
-1
View File
@@ -1656,7 +1656,6 @@ static int mj_ne(const mjModel* m, mjData* d, int* nnz) {
if (id[1] >= 0) {
NV = mju_combineSparseCount(NV, NV2, chain, chain2);
NV = 2;
}
break;