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

Enclosure Calculation Bug #88

Closed
Albuser opened this issue Dec 6, 2023 · 1 comment
Closed

Enclosure Calculation Bug #88

Albuser opened this issue Dec 6, 2023 · 1 comment
Labels
invalid This doesn't seem right

Comments

@Albuser
Copy link

Albuser commented Dec 6, 2023

If an atomic unit of an interval is empty, the enclosure will still consider it. For example:

first = P.open(2,3)

second = P.closed(5,6)

print((first | second).enclosure) 

returns (2,6], whereas I would expect [5,6].

@Albuser
Copy link
Author

Albuser commented Dec 6, 2023

Never mind, I'm being silly and considering these as strictly integer intervals

@AlexandreDecan AlexandreDecan added the invalid This doesn't seem right label Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants