mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Use Zero rather than pTraits<Type>::zero unless a static typed '0' is required
This commit is contained in:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user