alexbol99 / flatten-interval-tree

Interval binary search tree
MIT License
41 stars 21 forks source link

This looks like a typo #43

Open poke1024 opened 1 year ago

poke1024 commented 1 year ago

Hello, I was porting your code to another (type checked) language, and encountered this here. I do not understand what is happening here, but from the symmetry of things (in comparison to not_intersect_right_subtree below) and the inconsistent type, this.left.max might really want to be this.left.item.key.high here.