From 91b4823d371578801ce0cc6903e0f1dc693eb585 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Mon, 6 Jan 2014 15:33:53 +0000 Subject: [PATCH] code style --- src/util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } }