Skip to content
Snippets Groups Projects
Commit e385275d authored by sergio's avatar sergio
Browse files

BUG: Fixing zeroFaGradient. Fix #1673

parent 8d36082d
Branches
No related merge requests found
......@@ -111,10 +111,7 @@ Foam::zeroGradientFaPatchField<Type>::valueInternalCoeffs
const tmp<scalarField>&
) const
{
return tmp<Field<Type>>
(
new Field<Type>(this->size(), Zero)
);
return tmp<Field<Type>>::New(this->size(), pTraits<Type>::one);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment