maths: take references for generic types in almost_equal

This commit is contained in:
Danny Robson 2017-06-13 14:18:53 +10:00
parent f50c77425d
commit 089caff53e

View File

@ -115,7 +115,7 @@ namespace util {
std::is_arithmetic<Tb>::value, std::is_arithmetic<Tb>::value,
bool bool
> >
exactly_equal (const Ta a, const Tb b) exactly_equal (const Ta &a, const Tb &b)
{ {
return a == b; return a == b;
} }