Commit 82e17e8
authored
Remove redundant abs call from Date.Range (#15669)
The preceding clauses handle steps that point away from the last date.
Otherwise, `last_days - first_days` and `step` have the same sign,
so `div/2` is already non-negative.1 parent 17f782e commit 82e17e8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| |||
0 commit comments