Remove unused code related to legacy island implementation.
Also fix a docstring. PiperOrigin-RevId: 757939564 Change-Id: I3a970fd38c63886d34cd23b1fb45617a9ce5c147
This commit is contained in:
committed by
Copybara-Service
parent
8a7c42c747
commit
755564a348
@@ -1875,13 +1875,13 @@ void mj_solveLD(mjtNum* restrict x, const mjtNum* qLD, const mjtNum* qLDiagInv,
|
||||
|
||||
// one vector
|
||||
if (n == 1) {
|
||||
x[i] -= mju_dotSparse(qLD+adr, x, d, colind+adr, /*flg_unc1=*/0);
|
||||
x[i] -= mju_dotSparse(qLD+adr, x, d, colind+adr);
|
||||
}
|
||||
|
||||
// multiple vectors
|
||||
else {
|
||||
for (int offset=0; offset < n*nv; offset+=nv) {
|
||||
x[i+offset] -= mju_dotSparse(qLD+adr, x+offset, d, colind+adr, /*flg_unc1=*/0);
|
||||
x[i+offset] -= mju_dotSparse(qLD+adr, x+offset, d, colind+adr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user