Clean-up
This commit is contained in:
parent
f74532adce
commit
fec3d9f714
1 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ Foam::scalar Foam::BlockCoeffTwoNorm<Type>::normalize
|
|||
|
||||
linearType diag;
|
||||
contractLinear(diag, a.asSquare());
|
||||
|
||||
|
||||
return sign(diag.component(cmpt_))*mag(diag);
|
||||
}
|
||||
else
|
||||
|
@ -113,7 +113,7 @@ void Foam::BlockCoeffTwoNorm<Type>::normalize
|
|||
|
||||
linearTypeField diag(a.size());
|
||||
contractLinear(diag, a.asSquare());
|
||||
|
||||
|
||||
b = sign(diag.component(cmpt_))*mag(diag);
|
||||
}
|
||||
else
|
||||
|
|
Reference in a new issue