Add spaces around comparison operators.

PiperOrigin-RevId: 573620198
Change-Id: Icf295cc0dd381a4a7f0e2c94f2e12b499193e862
This commit is contained in:
Yuval Tassa
2023-10-15 07:39:20 -07:00
committed by Copybara-Service
parent a1b6026b8c
commit a9ee497e33
21 changed files with 670 additions and 667 deletions
+2 -2
View File
@@ -52,7 +52,7 @@ void mj_passive(const mjModel* m, mjData* d) {
stiffness = m->jnt_stiffness[i];
// disabled : nothing to do
if (stiffness==0) {
if (stiffness == 0) {
continue;
}
@@ -102,7 +102,7 @@ void mj_passive(const mjModel* m, mjData* d) {
damping = m->flex_edgedamping[f];
// disabled or rigid: nothing to do
if (m->flex_rigid[f] || (stiffness==0 && damping==0)) {
if (m->flex_rigid[f] || (stiffness == 0 && damping == 0)) {
continue;
}