Commit 5eaa70ce authored by Henry Weller's avatar Henry Weller
Browse files

GAMGAgglomerationTemplates: Assign to Zero rather than pTraits<Type>::zero

parent 14e40457
......@@ -81,7 +81,7 @@ void Foam::GAMGAgglomeration::restrictField
const labelList& fineToCoarse
) const
{
cf = pTraits<Type>::zero;
cf = Zero;
forAll(ff, i)
{
......@@ -153,7 +153,7 @@ void Foam::GAMGAgglomeration::restrictFaceField
<< abort(FatalError);
}
cf = pTraits<Type>::zero;
cf = Zero;
forAll(fineToCoarse, ffacei)
{
......
Markdown is supported
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