Skip to content
Snippets Groups Projects
Commit f34f9b38 authored by Henry Weller's avatar Henry Weller
Browse files

zero: Return Zero rather than zero()

parent 554b9650
No related branches found
No related tags found
No related merge requests found
...@@ -59,19 +59,19 @@ inline Type operator-(const zero&, const Type& t) ...@@ -59,19 +59,19 @@ inline Type operator-(const zero&, const Type& t)
template<class Type> template<class Type>
inline zero operator*(const Type& t, const zero&) inline zero operator*(const Type& t, const zero&)
{ {
return zero(); return Zero;
} }
template<class Type> template<class Type>
inline zero operator*(const zero&, const Type& t) inline zero operator*(const zero&, const Type& t)
{ {
return zero(); return Zero;
} }
template<class Type> template<class Type>
inline zero operator/(const zero&, const Type& t) inline zero operator/(const zero&, const Type& t)
{ {
return zero(); return Zero;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment