mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 16:55:15 +00:00
remove unnecessary parent node assignment
This commit is contained in:
parent
f716dd12c0
commit
245905a25a
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user