Skip to content

Commit 8cb253b

Browse files
yuvaltassacopybara-github
authored andcommitted
Fix typos.
PiperOrigin-RevId: 710678815 Change-Id: Iab6f603f8f4d782ac7f34140add39e1f37625167
1 parent 0336114 commit 8cb253b

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

doc/includes/references.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2500,7 +2500,7 @@ struct mjUI_ { // entire UI
25002500

25012501
// UI sizes (framebuffer units)
25022502
int width; // width
2503-
int height; // current heigth
2503+
int height; // current height
25042504
int maxheight; // height when all sections open
25052505
int scroll; // scroll from top of UI
25062506

include/mujoco/mjui.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ struct mjUI_ { // entire UI
304304

305305
// UI sizes (framebuffer units)
306306
int width; // width
307-
int height; // current heigth
307+
int height; // current height
308308
int maxheight; // height when all sections open
309309
int scroll; // scroll from top of UI
310310

introspect/structs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12380,7 +12380,7 @@
1238012380
StructFieldDecl(
1238112381
name='height',
1238212382
type=ValueType(name='int'),
12383-
doc='current heigth',
12383+
doc='current height',
1238412384
),
1238512385
StructFieldDecl(
1238612386
name='maxheight',

mjx/mujoco/mjx/_src/smooth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ def _site_dof_mask(m: Model) -> np.ndarray:
988988
mask = np.ones((m.nu, m.nv))
989989
for i in np.nonzero(m.actuator_trnid[:, 1] != -1)[0]:
990990
id_, refid = m.actuator_trnid[i]
991-
# intialize last dof address for each body
991+
# initialize last dof address for each body
992992
b0 = m.body_weldid[m.site_bodyid[id_]]
993993
b1 = m.body_weldid[m.site_bodyid[refid]]
994994
dofadr0 = m.body_dofadr[b0] + m.body_dofnum[b0] - 1

src/engine/engine_forward.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ void mj_fwdPosition(const mjModel* m, mjData* d) {
147147
mj_collision(m, d); // timed internally (POS_COLLISION)
148148
}
149149

150-
// have threadpool: inertia and collision on seperate threads
150+
// have threadpool: inertia and collision on separate threads
151151
else {
152152
mjTask tasks[2];
153153
mjFwdPositionArgs forward_args;

src/engine/engine_support.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ int mj_mergeChain(const mjModel* m, int* chain, int b1, int b2) {
278278
return 0;
279279
}
280280

281-
// intialize last dof address for each body
281+
// initialize last dof address for each body
282282
da1 = m->body_dofadr[b1] + m->body_dofnum[b1] - 1;
283283
da2 = m->body_dofadr[b2] + m->body_dofnum[b2] - 1;
284284

@@ -361,7 +361,7 @@ int mj_bodyChain(const mjModel* m, int body, int* chain) {
361361
return 0;
362362
}
363363

364-
// intialize last dof
364+
// initialize last dof
365365
int da = m->body_dofadr[body] + m->body_dofnum[body] - 1;
366366
int NV = 0;
367367

src/engine/engine_vis_interact.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ void mjv_moveModel(const mjModel* m, int action, mjtNum reldx, mjtNum reldy,
497497
// get current model rotation
498498
mju_f2n(rotate, scn->rotate, 4);
499499

500-
// compose rotation, normalize and and set
500+
// compose rotation, normalize and set
501501
mju_mulQuat(result, quat, rotate);
502502
mju_normalize4(result);
503503
mju_n2f(scn->rotate, result, 4);

0 commit comments

Comments
 (0)