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

Remove empty sets in concrete intersection with a set union #2158

Closed
mforets opened this issue May 24, 2020 · 1 comment
Closed

Remove empty sets in concrete intersection with a set union #2158

mforets opened this issue May 24, 2020 · 1 comment
Assignees

Comments

@mforets
Copy link
Member

mforets commented May 24, 2020

The implementation of the concrete intersection stores a vector with the same number of elements as the union's array. However, some of those elements may become empty after intersecting, so it would be preferable to only add non-empty elements (and return the empty set if they are all non-empty).

function intersection(cup::UnionSetArray{N}, X::LazySet{N}) where {N<:Real}

xref: JuliaReach/ReachabilityAnalysis.jl#197

@schillic schillic self-assigned this May 6, 2024
@schillic
Copy link
Member

schillic commented May 6, 2024

Resolved in #3352.

@schillic schillic closed this as completed May 6, 2024
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

2 participants