From fec3d9f714ca141dfbeb0ee3506ed3682e2410bd Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Thu, 1 Jun 2017 10:20:51 +0100 Subject: [PATCH] Clean-up --- .../BlockCoeffNorm/BlockCoeffTwoNorm/BlockCoeffTwoNorm.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/foam/primitives/BlockCoeff/BlockCoeffNorm/BlockCoeffTwoNorm/BlockCoeffTwoNorm.C b/src/foam/primitives/BlockCoeff/BlockCoeffNorm/BlockCoeffTwoNorm/BlockCoeffTwoNorm.C index 8e003eb19..07d301ce4 100644 --- a/src/foam/primitives/BlockCoeff/BlockCoeffNorm/BlockCoeffTwoNorm/BlockCoeffTwoNorm.C +++ b/src/foam/primitives/BlockCoeff/BlockCoeffNorm/BlockCoeffTwoNorm/BlockCoeffTwoNorm.C @@ -67,7 +67,7 @@ Foam::scalar Foam::BlockCoeffTwoNorm::normalize linearType diag; contractLinear(diag, a.asSquare()); - + return sign(diag.component(cmpt_))*mag(diag); } else @@ -113,7 +113,7 @@ void Foam::BlockCoeffTwoNorm::normalize linearTypeField diag(a.size()); contractLinear(diag, a.asSquare()); - + b = sign(diag.component(cmpt_))*mag(diag); } else