remove unnecessary parent node assignment

This commit is contained in:
c9s 2021-12-07 21:23:43 +08:00
parent f716dd12c0
commit 245905a25a

View File

@ -152,7 +152,6 @@ func (tree *RBTree) Upsert(key, val fixedpoint.Value) {
color: Red, color: Red,
left: neel, left: neel,
right: neel, right: neel,
parent: neel,
} }
for x != neel { for x != neel {