Skip to content

Commit a7111b2

Browse files
thowellcopybara-github
authored andcommitted
Sparse ten_J and ten_J_colind memory
PiperOrigin-RevId: 868800229 Change-Id: I7130b0316a64aefc5b6eeba00482cfc2f5bedb21
1 parent 8cc49f5 commit a7111b2

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

mjpc/simulate.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -577,9 +577,6 @@ void UpdateWatch(mj::Simulate* sim) {
577577
sim->ui0.sect[SECT_WATCH].item[2].multi.nelem = 1;
578578
mju::strcpy_arr(sim->ui0.sect[SECT_WATCH].item[2].multi.name[0], "invalid field");
579579

580-
// prepare symbols needed by xmacro
581-
MJDATA_POINTERS_PREAMBLE(sim->m);
582-
583580
// find specified field in mjData arrays, update value
584581
#define X(TYPE, NAME, NR, NC) \
585582
if (!mju::strcmp_arr(#NAME, sim->field) && \

0 commit comments

Comments
 (0)