diff --git a/src/util.h b/src/util.h index 1f3116ab..5878e263 100755 --- a/src/util.h +++ b/src/util.h @@ -938,12 +938,12 @@ public: if ( dNewValue < dOldValue ) { dOldValue = - dOldValue * dWeightDown + (1.0 - dWeightDown) * dNewValue; + dOldValue * dWeightDown + ( 1.0 - dWeightDown ) * dNewValue; } else { dOldValue = - dOldValue * dWeightUp + (1.0 - dWeightUp) * dNewValue; + dOldValue * dWeightUp + ( 1.0 - dWeightUp ) * dNewValue; } }