Rename inertia factorization routines:
``` mj_factorI -> mj_factorI_legacy mj_solveLD -> mj_solveLD_legacy mj_factorIs -> mj_factorI mj_solveLDs -> mj_solveLD ``` PiperOrigin-RevId: 728246367 Change-Id: I3bc7804cb96faac2ae5419ba9abfc3c1648ed4c6
This commit is contained in:
committed by
Copybara-Service
parent
982330d15a
commit
b516edae1b
@@ -62,10 +62,10 @@ static void BM_solveLD(benchmark::State& state, bool featherstone, bool coil) {
|
||||
for (int i=0; i < kNumBenchmarkSteps; i++) {
|
||||
mju_copy(res, vec, m->nv);
|
||||
if (featherstone) {
|
||||
mj_solveLD(m, res, 1, LDlegacy, d->qLDiagInv);
|
||||
mj_solveLD_legacy(m, res, 1, LDlegacy, d->qLDiagInv);
|
||||
} else {
|
||||
mj_solveLDs(res, d->qLD, d->qLDiagInv, m->nv, 1,
|
||||
d->C_rownnz, d->C_rowadr, m->dof_simplenum, d->C_colind);
|
||||
mj_solveLD(res, d->qLD, d->qLDiagInv, m->nv, 1,
|
||||
d->C_rownnz, d->C_rowadr, m->dof_simplenum, d->C_colind);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user