zero: Return Zero rather than zero()

This commit is contained in:
Henry Weller
2016-03-22 14:07:38 +00:00
parent 554b965000
commit f34f9b3819

View File

@ -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;
}