-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specified behaviour of
Subset.covers()
for different dimensionality (…
…#1637) Before all cover functions ignored the case if the subsets have different lengths. The effect was that the subsets `A = Range.from_string("i, k, 0:N, 1")` and `B = Range.from_string("i, k")` would cover each other. This case was considered undefined behaviour. This commit changes the behaviour of these function such that for covering it is required that the subsets must have the same dimensions. --------- Co-authored-by: Tal Ben-Nun <[email protected]>
- Loading branch information
1 parent
8521f40
commit e1daf32
Showing
1 changed file
with
35 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters