Fix field ordering in mjModel.
`nnames_map` is not required for `mjModel` construction, it is set during construction. PiperOrigin-RevId: 696462793 Change-Id: Ie722e2a04d7fd7ed96634d3304cc94e895ed713b
This commit is contained in:
committed by
Copybara-Service
parent
0e8cca93e1
commit
9f51ba50db
@@ -1148,16 +1148,16 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
type=ValueType(name='int'),
|
||||
doc='number of chars in all names',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='nnames_map',
|
||||
type=ValueType(name='int'),
|
||||
doc='number of slots in the names hash map',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='npaths',
|
||||
type=ValueType(name='int'),
|
||||
doc='number of chars in all paths',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='nnames_map',
|
||||
type=ValueType(name='int'),
|
||||
doc='number of slots in the names hash map',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='nM',
|
||||
type=ValueType(name='int'),
|
||||
@@ -1196,12 +1196,12 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
StructFieldDecl(
|
||||
name='njmax',
|
||||
type=ValueType(name='int'),
|
||||
doc='number of available rows in constraint Jacobian',
|
||||
doc='number of available rows in constraint Jacobian (legacy)',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='nconmax',
|
||||
type=ValueType(name='int'),
|
||||
doc='number of potential contacts in contact list',
|
||||
doc='number of potential contacts in contact list (legacy)',
|
||||
),
|
||||
StructFieldDecl(
|
||||
name='nuserdata',
|
||||
|
||||
Reference in New Issue
Block a user