mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
zero: Return Zero rather than zero()
This commit is contained in:
@ -59,19 +59,19 @@ inline Type operator-(const zero&, const Type& t)
|
||||
template<class Type>
|
||||
inline zero operator*(const Type& t, const zero&)
|
||||
{
|
||||
return zero();
|
||||
return Zero;
|
||||
}
|
||||
|
||||
template<class Type>
|
||||
inline zero operator*(const zero&, const Type& t)
|
||||
{
|
||||
return zero();
|
||||
return Zero;
|
||||
}
|
||||
|
||||
template<class Type>
|
||||
inline zero operator/(const zero&, const Type& t)
|
||||
{
|
||||
return zero();
|
||||
return Zero;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user