From 2b4d2e83036f6813e26ed308703bf12745b43ac3 Mon Sep 17 00:00:00 2001
From: Orestis <orestis.malaspinas@pm.me>
Date: Wed, 8 May 2024 10:35:33 +0200
Subject: [PATCH] coeherence correction

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

diff --git a/slides/cours_21.md b/slides/cours_21.md
index 3b711ea..e99cb77 100644
--- a/slides/cours_21.md
+++ b/slides/cours_21.md
@@ -371,7 +371,7 @@ int depth(node *qt) {
 
 ```C
 noeud position(li, co, arbre)
-    d = profondeur(arbre);
+    d = profondeur(arbre) - 1;
     tant_que (d >= 1)
         index = 2 * ((li % 2^d) / 2^(d-1))
             + (col % 2^d) / 2^(d-1)
-- 
GitLab