sources/basics.h

changeset 99
f9f73eeba3b7
parent 93
1ea012a6e1ec
child 109
e4966d7e615d
--- 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>

mercurial