Add spaces around comparison operators.
PiperOrigin-RevId: 573620198 Change-Id: Icf295cc0dd381a4a7f0e2c94f2e12b499193e862
This commit is contained in:
committed by
Copybara-Service
parent
a1b6026b8c
commit
a9ee497e33
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user