Repository navigation
Commit 37906b5
committed
🐛 Fix
When the starting index points to "*", the `min <= max` comparison
fails and an exception is raised.
Without changing the basic `#slice_range` structure and algorithm, the
simplest fix is to use the internal integers for `min` and `max`, which
will always be comparable.SequenceSet#slice when starting at "*"1 parent 4bf5bb4 commit 37906b5
2 files changed
Lines changed: 4 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2434 | 2434 | | |
2435 | 2435 | | |
2436 | 2436 | | |
2437 | | - | |
2438 | | - | |
2439 | | - | |
2440 | | - | |
2441 | | - | |
| 2437 | + | |
| 2438 | + | |
| 2439 | + | |
2442 | 2440 | | |
2443 | 2441 | | |
2444 | 2442 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | 499 | | |
509 | 500 | | |
510 | 501 | | |
| |||
616 | 607 | | |
617 | 608 | | |
618 | 609 | | |
619 | | - | |
| 610 | + | |
620 | 611 | | |
621 | 612 | | |
622 | 613 | | |
| |||
0 commit comments