Skip to content

first overlap doesn't return expected results #1

@drewverlee

Description

@drewverlee

I expected:

user=> (it/first-overlapping (ts [1 10] [12 16]) [19 40])
nil

but got

user=> (it/first-overlapping (ts [1 10] [12 16]) [19 40])
[12 16]

Forgive me if the output is correct, im still learning about interval tree as i work through these examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions