From c49545d3ff29873922e1450112b21e05010e1f1c Mon Sep 17 00:00:00 2001 From: Camille Chauvet Date: Wed, 4 Oct 2023 14:46:10 +0000 Subject: [PATCH] ex00: fix: i am a stupid man --- ex00/src/whatever.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ex00/src/whatever.hpp b/ex00/src/whatever.hpp index e77aef7..229174d 100644 --- a/ex00/src/whatever.hpp +++ b/ex00/src/whatever.hpp @@ -11,11 +11,11 @@ void swap(T a, T b) template T min(T a, T b) { - return a > b ? a : b; + return a > b ? b : a; } template T max(T a, T b) { - return a < b ? a : b; -} \ No newline at end of file + return a > b ? a : b; +}