--- a/sources/basics.h Thu Jul 23 18:26:30 2015 +0300 +++ b/sources/basics.h Fri Jul 24 00:43:16 2015 +0300 @@ -73,13 +73,13 @@ template<typename T> T min (T a, T b) { - return (a < b) ? b : a; + return (a < b) ? a : b; } template<typename T> T max (T a, T b) { - return (a > b) ? b : a; + return (a > b) ? a : b; } template<typename T>