Commit cab399d
committed
Fixed a bug in dpt.arange
A bug would manifest itself if the starting value is outside of
range of the array data type.
Fixed it by coercing the starting value to the data type, like
is currently done for the increment.
The test was modified to cover such an input.1 parent 2522187 commit cab399d
2 files changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
550 | | - | |
| 550 | + | |
| 551 | + | |
551 | 552 | | |
552 | 553 | | |
553 | 554 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
985 | 985 | | |
986 | 986 | | |
987 | 987 | | |
988 | | - | |
989 | | - | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
990 | 992 | | |
991 | | - | |
992 | | - | |
| 993 | + | |
| 994 | + | |
993 | 995 | | |
994 | 996 | | |
995 | 997 | | |
| |||
0 commit comments