Sparse ten_J and ten_J_colind memory
PiperOrigin-RevId: 868800229 Change-Id: Id83f9fd40dd9bece06fd99753e4202eea17ca884
This commit is contained in:
committed by
Copybara-Service
parent
94e834bf4f
commit
d011285380
@@ -100,7 +100,6 @@ void SaveToWebp(int width, int height, const std::byte* data,
|
||||
|
||||
const void* GetValue(const mjModel* model, const mjData* data,
|
||||
const char* field, int index) {
|
||||
MJDATA_POINTERS_PREAMBLE(model);
|
||||
#define X(TYPE, NAME, NR, NC) \
|
||||
if (!std::strcmp(#NAME, field) && !std::strcmp(#TYPE, "mjtNum")) { \
|
||||
if (index >= 0 && index < model->NR * NC) { \
|
||||
|
||||
Reference in New Issue
Block a user