From 255a59487c6a52a0fab8209e0a59b76796e8a0ba Mon Sep 17 00:00:00 2001 From: Erik Frey Date: Fri, 24 May 2024 16:53:06 -0700 Subject: [PATCH] Corrects function reference in class comments. PiperOrigin-RevId: 637070006 Change-Id: I0d9dcf0401a107de67cd0a663df6c876287ba772 --- doc/includes/references.h | 2 +- include/mujoco/mjdata.h | 2 +- introspect/structs.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/includes/references.h b/doc/includes/references.h index a9a50278..c85c07eb 100644 --- a/doc/includes/references.h +++ b/doc/includes/references.h @@ -94,7 +94,7 @@ struct mjContact_ { // result of collision detection functions // internal storage used by solver mjtNum mu; // friction of regularized cone, set by mj_makeConstraint - mjtNum H[36]; // cone Hessian, set by mj_updateConstraint + mjtNum H[36]; // cone Hessian, set by mj_constraintUpdate // contact descriptors set by mj_collideXXX int dim; // contact space dimensionality: 1, 3, 4 or 6 diff --git a/include/mujoco/mjdata.h b/include/mujoco/mjdata.h index 65886b38..344c688e 100644 --- a/include/mujoco/mjdata.h +++ b/include/mujoco/mjdata.h @@ -110,7 +110,7 @@ struct mjContact_ { // result of collision detection functions // internal storage used by solver mjtNum mu; // friction of regularized cone, set by mj_makeConstraint - mjtNum H[36]; // cone Hessian, set by mj_updateConstraint + mjtNum H[36]; // cone Hessian, set by mj_constraintUpdate // contact descriptors set by mj_collideXXX int dim; // contact space dimensionality: 1, 3, 4 or 6 diff --git a/introspect/structs.py b/introspect/structs.py index 3d7e9cf5..f5c26e18 100644 --- a/introspect/structs.py +++ b/introspect/structs.py @@ -4011,7 +4011,7 @@ STRUCTS: Mapping[str, StructDecl] = dict([ inner_type=ValueType(name='mjtNum'), extents=(36,), ), - doc='cone Hessian, set by mj_updateConstraint', + doc='cone Hessian, set by mj_constraintUpdate', ), StructFieldDecl( name='dim',