mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +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