ex00: fix: i am a stupid man
This commit is contained in:
parent
810105e554
commit
c49545d3ff
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user