Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 2 insertions, 2 deletions
-rw-r--r--Seminar10/AVLTree.hpp4
diff --git a/Seminar10/AVLTree.hpp b/Seminar10/AVLTree.hpp
index 2c0a758..355d1c5 100644
--- a/Seminar10/AVLTree.hpp
+++ b/Seminar10/AVLTree.hpp
@@ -54,7 +54,7 @@ private:
}
rotateRight(r);
- updateHeight(r->left);
+ updateHeight(r->right);
updateHeight(r);
}
}
@@ -200,4 +200,4 @@ private:
size_t size;
};
-#endif \ No newline at end of file
+#endif