Use Zero rather than pTraits<Type>::zero unless a static typed '0' is required

This commit is contained in:
Henry Weller
2016-03-22 17:46:52 +00:00
parent 59f7f1ef0e
commit fa8929df6d
82 changed files with 224 additions and 224 deletions

View File

@ -75,7 +75,7 @@ Type Foam::fieldValues::cellSource::processValues
const scalarField& weightField
) const
{
Type result = pTraits<Type>::zero;
Type result = Zero;
switch (operation_)
{
case opSum: