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