-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix printing of StepRangeLen with affine units (#551)
* Fix printing of StepRangeLen with affine units * Use `absoluteunit()` for step units * Add tests for ranges where `unit(eltype(r)) != unit(step(r))` * Add tests for ranges where `unit(step(r)) != absoluteunit(unit(eltype(r)))` * Use absolute unit for checking step unit is 1 * Take care of broken tests for `StepRangeLen` before Julia 1.5
- Loading branch information
Showing
2 changed files
with
22 additions
and
3 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