zero: Return Zero rather than zero()
This commit is contained in:
parent
89fa292968
commit
050ee51ad8
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue