Rename centered argument of mjd_transitionFD to flg_centered, to conform with the rest of the API.

PiperOrigin-RevId: 527258079
Change-Id: I77817be8ee007a572c79e9cd41f7c5728a091fb3
This commit is contained in:
Yuval Tassa
2023-04-26 07:17:58 -07:00
committed by Copybara-Service
parent a8d202a0c2
commit e3cdc410d6
8 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -3085,7 +3085,7 @@ finite-differencing. These matrices and their dimensions are:
- All four matrix outputs are optional (can be NULL).
- ``eps`` is the finite-differencing epsilon.
- ``centered`` is a flag denoting whether to use forward (0) or centered (1) differences.
- ``flg_centered`` denotes whether to use forward (0) or centered (1) differences.
.. _Plugins-api:
+1 -1
View File
@@ -388,5 +388,5 @@ finite-differencing. These matrices and their dimensions are:
- All four matrix outputs are optional (can be NULL).
- ``eps`` is the finite-differencing epsilon.
- ``centered`` is a flag denoting whether to use forward (0) or centered (1) differences.
- ``flg_centered`` denotes whether to use forward (0) or centered (1) differences.
+1 -1
View File
@@ -2439,7 +2439,7 @@ void mju_insertionSortInt(int* list, int n);
mjtNum mju_Halton(int index, int base);
char* mju_strncpy(char *dst, const char *src, int n);
mjtNum mju_sigmoid(mjtNum x);
void mjd_transitionFD(const mjModel* m, mjData* d, mjtNum eps, mjtByte centered,
void mjd_transitionFD(const mjModel* m, mjData* d, mjtNum eps, mjtByte flg_centered,
mjtNum* A, mjtNum* B, mjtNum* C, mjtNum* D);
void mjp_defaultPlugin(mjpPlugin* plugin);
int mjp_registerPlugin(const mjpPlugin* plugin);