Skip to content

Commit

Permalink
s/paramters/parameters/
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 588113325
Change-Id: I1b7e754c747baedb8d2b154c3dc395a7062e8fc5
  • Loading branch information
nimrod-gileadi authored and copybara-github committed Dec 5, 2023
1 parent 3c05f9f commit 5e9906b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/engine/engine_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ void mj_defaultLROpt(mjLROpt* opt) {

//------------------------------- mjOption ---------------------------------------------------------

// set default solver paramters
// set default solver parameters
void mj_defaultSolRefImp(mjtNum* solref, mjtNum* solimp) {
if (solref) {
solref[0] = 0.02; // timeconst
Expand Down
2 changes: 1 addition & 1 deletion src/engine/engine_io.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ extern "C" {
// Set default options for length range computation.
MJAPI void mj_defaultLROpt(mjLROpt* opt);

// set default solver paramters
// set default solver parameters
MJAPI void mj_defaultSolRefImp(mjtNum* solref, mjtNum* solimp);

// set options to default values
Expand Down
2 changes: 1 addition & 1 deletion src/engine/engine_util_misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ static mjtNum wrap_circle(mjtNum* pnt, const mjtNum* d, const mjtNum* sd, mjtNum
// input: pair of 2D points in d[4], radius
// output: pair of 2D points in pnt[4]; return 0 if wrap, -1 if no wrap
static mjtNum wrap_inside(mjtNum* pnt, const mjtNum* d, mjtNum rad) {
// algorithm paramters
// algorithm parameters
const int maxiter = 20;
const mjtNum zinit = 1 - 1e-7;
const mjtNum tolerance = 1e-6;
Expand Down

0 comments on commit 5e9906b

Please sign in to comment.