-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix[cartesian]: Fix minimal k-range computation (#1842)
## Description The computation of the minimal k-ranges that happen during the vaildate-args step is allowing for inconsistent computation to happen. This PR stiffens the requirements on fields: - intervals `[START+X ,END+y)` are now also considered: - `interval(3,-1)` requires a minimal size of 5 for the interval to not be empty - `interval(3,None)` now requires a minimal size of 4 - intervals `[START+X, START+Y)` and `[END+X,END+Y)` are not affected. - empty intervals are still allowed to have a 0-domain as to accomodate 2-dimensional fields - `interval(...)` still requires no k-size ## Requirements - [x] All fixes and/or new features come with corresponding tests. --------- Co-authored-by: Florian Deconinck <deconinck.florian@gmail.com>
- Loading branch information
1 parent
587d107
commit 70569bc
Showing
4 changed files
with
63 additions
and
34 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
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
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
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