diff --git a/slides/cours_7.md b/slides/cours_7.md
index f9298849639ca68a8e0a594d27e10a3617f0164c..b48e4087ffdf5045da770b01d10550885fc7ee31 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
 ```