Move mju_combineSparseCount into engine_util_sparse.

PiperOrigin-RevId: 561025741
Change-Id: I0bdc48554928fc4545a38a8cea3bdeb593bd7ecd
This commit is contained in:
Kyle Bayes
2023-08-29 07:40:06 -07:00
committed by Copybara-Service
parent df1b3515c7
commit ea5e00cad8
6 changed files with 104 additions and 106 deletions
-7
View File
@@ -93,13 +93,6 @@ void mj_diagApprox(const mjModel* m, mjData* d);
// compute efc_R, efc_D, efc_KDIP, adjust diagApprox
void mj_makeImpedance(const mjModel* m, mjData* d);
//------------------------- constraint counting
// count the number of non-zeros in the sum of two sparse vectors
MJAPI int mju_combineSparseCount(int a_nnz, int b_nnz, const int* a_ind, const int* b_ind);
//---------------------------- top-level API for constraint construction ---------------------------
// main driver: call all functions above