Represent only the lower triangle in Newton solver's reduced dof-dof matrix.

PiperOrigin-RevId: 712488529
Change-Id: Iad91c72654376539791d7856765a0d0ac9088251
This commit is contained in:
Yuval Tassa
2025-01-06 04:58:06 -08:00
committed by Copybara-Service
parent ee6f4837f3
commit 7eb8231fda
11 changed files with 112 additions and 76 deletions
+1 -1
View File
@@ -2495,7 +2495,7 @@ void mjCModel::CopyTree(mjModel* m) {
}
}
}
m->nC = nC = 2 * nOD + nv;
m->nC = nC = nOD + nv;
}
// copy plugin data