STYLE: extraneous space in template parameter

This commit is contained in:
Mark Olesen
2019-10-30 12:54:06 +01:00
committed by Andrew Heather
parent fd4ffc8a27
commit c5ed28d0e3
11 changed files with 19 additions and 24 deletions

View File

@ -295,16 +295,11 @@ Foam::tmp<Foam::Field<Foam::solveScalar>> Foam::lduMatrix::residual
Foam::tmp<Foam::scalarField> Foam::lduMatrix::H1() const
{
tmp<scalarField > tH1
(
new scalarField(lduAddr().size(), Zero)
);
auto tH1 = tmp<scalarField>::New(lduAddr().size(), Zero);
if (lowerPtr_ || upperPtr_)
{
scalarField& H1_ = tH1.ref();
scalar* __restrict__ H1Ptr = H1_.begin();
scalar* __restrict__ H1Ptr = tH1.ref().begin();
const label* __restrict__ uPtr = lduAddr().upperAddr().begin();
const label* __restrict__ lPtr = lduAddr().lowerAddr().begin();