1
0

Fixed datatype truncation in Diff() template.

This commit is contained in:
madmaxoft 2014-05-18 22:36:17 +02:00
parent ac00568183
commit e09a04a23a

View File

@ -529,7 +529,7 @@ inline float GetSpecialSignf( float a_Val )
template<class T> inline int Diff(T a_Val1, T a_Val2)
template<class T> inline T Diff(T a_Val1, T a_Val2)
{
return std::abs(a_Val1 - a_Val2);
}