Convert user_api header and user_init source files to valid C code.
PiperOrigin-RevId: 629691192 Change-Id: I9be78aca27ae584fff0b733e9015b2bb3b927ca4
This commit is contained in:
committed by
Copybara-Service
parent
8d1f65c01a
commit
1b70907060
@@ -83,7 +83,7 @@ static void copyvec(T1* dest, T2* src, int n) {
|
||||
|
||||
// constructor
|
||||
mjCModel::mjCModel() {
|
||||
mjs_defaultSpec(spec);
|
||||
mjs_defaultSpec(&spec);
|
||||
elemtype = mjOBJ_UNKNOWN;
|
||||
spec_comment_.clear();
|
||||
spec_modelfiledir_.clear();
|
||||
|
||||
Reference in New Issue
Block a user