Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem or misunderstanding from IntervalTree #2

Open
supergrade opened this issue May 8, 2016 · 0 comments
Open

Problem or misunderstanding from IntervalTree #2

supergrade opened this issue May 8, 2016 · 0 comments

Comments

@supergrade
Copy link

let test() =
let tree = listToIntervalTree [3, 5 ; 600, 1000]
let discoveries = for i in 0 .. 12 -> (i, intervalMatch tree { low = i; high = i })

'discoveries' list includes the 600,1000 alongside the first 3,5 discovery and from then on.

Am I using this correctly? I can't follow the code well enough to diagnose. . .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant