From 35b075b539132109ee6ee3a2cee5e8a2a0122dd8 Mon Sep 17 00:00:00 2001
From: Orestis <orestis.malaspinas@pm.me>
Date: Wed, 16 Nov 2022 10:51:48 +0100
Subject: [PATCH] typo in partition

---
 slides/cours_7.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slides/cours_7.md b/slides/cours_7.md
index f929884..b48e408 100644
--- a/slides/cours_7.md
+++ b/slides/cours_7.md
@@ -200,7 +200,7 @@ entier partition(entier tableau[], entier ind_min, entier ind_max)
         // mettre les plus petits à gauche
     
     // on met le pivot "au milieu"
-    échanger(tableau[i], tableau[pivot])    
+    échanger(tableau[i], tableau[ind_max])    
     retourne i // on retourne l'indice pivot
 ```
 
-- 
GitLab