Fix docstring of mjData.arena. Fixes #1753

PiperOrigin-RevId: 646121139
Change-Id: I46c7fb32b0e705fb3b8301272d7fc55ba0dacd7c
This commit is contained in:
Yuval Tassa
2024-06-24 09:27:00 -07:00
committed by Copybara-Service
parent ee6a1dba28
commit 9e9a0c637e
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ struct mjData_ {
// buffers // buffers
void* buffer; // main buffer; all pointers point in it (nbuffer bytes) void* buffer; // main buffer; all pointers point in it (nbuffer bytes)
void* arena; // arena+stack buffer (nstack*sizeof(mjtNum) bytes) void* arena; // arena+stack buffer (narena bytes)
//-------------------- main inputs and outputs of the computation //-------------------- main inputs and outputs of the computation
+1 -1
View File
@@ -208,7 +208,7 @@ struct mjData_ {
// buffers // buffers
void* buffer; // main buffer; all pointers point in it (nbuffer bytes) void* buffer; // main buffer; all pointers point in it (nbuffer bytes)
void* arena; // arena+stack buffer (nstack*sizeof(mjtNum) bytes) void* arena; // arena+stack buffer (narena bytes)
//-------------------- main inputs and outputs of the computation //-------------------- main inputs and outputs of the computation
+1 -1
View File
@@ -4336,7 +4336,7 @@ STRUCTS: Mapping[str, StructDecl] = dict([
type=PointerType( type=PointerType(
inner_type=ValueType(name='void'), inner_type=ValueType(name='void'),
), ),
doc='arena+stack buffer (nstack*sizeof(mjtNum) bytes)', # pylint: disable=line-too-long doc='arena+stack buffer (narena bytes)', # pylint: disable=line-too-long
), ),
StructFieldDecl( StructFieldDecl(
name='qpos', name='qpos',