Skip to content

Commit

Permalink
Merge pull request #3131 from JuliaReach/schillic/isstrictsubset
Browse files Browse the repository at this point in the history
Revise isstrictsubset code and generalize to LazySet
  • Loading branch information
schillic authored Oct 17, 2022
2 parents f4e5a5f + f067bea commit 93aa7bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ConcreteOperations/isstrictsubset.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
⊂(X::ConvexSet{N}, Y::ConvexSet, [witness]::Bool=false) where {N}
⊂(X::LazySet{N}, Y::LazySet, [witness]::Bool=false) where {N}
Strict inclusion check.
Strict inclusion check of a set in another set.
### Input
Expand All @@ -24,7 +24,7 @@ We check inclusion of `X` in `Y` and then check inclusion of `Y` in `X`:
X ⊂ Y \\Leftrightarrow X ⊆ Y \\land ¬ (Y ⊆ X)
```
"""
function (X::ConvexSet{N}, Y::ConvexSet, witness::Bool=false) where {N}
function (X::LazySet{N}, Y::LazySet, witness::Bool=false) where {N}
if witness
res, w = (X, Y, witness)
if res
Expand Down

0 comments on commit 93aa7bc

Please sign in to comment.