ex00: fix: i am a stupid man

This commit is contained in:
Camille Chauvet 2023-10-04 14:46:10 +00:00
parent 810105e554
commit c49545d3ff

View File

@ -11,11 +11,11 @@ void swap(T a, T b)
template <typename T> template <typename T>
T min(T a, T b) T min(T a, T b)
{ {
return a > b ? a : b; return a > b ? b : a;
} }
template <typename T> template <typename T>
T max(T a, T b) T max(T a, T b)
{ {
return a < b ? a : b; return a > b ? a : b;
} }