This repository was archived by the owner on Aug 11, 2026. It is now read-only.
Commit f047b17
committed
fix: address Copilot review comment on array handling
- Fixed _calculate_level_start_time to properly handle truncated positions array
- Now correctly extends with zeros rather than potentially accessing out of bounds indices
- All tests still pass1 parent ec65313 commit f047b17
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
469 | | - | |
470 | | - | |
471 | | - | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
472 | 473 | | |
473 | 474 | | |
474 | 475 | | |
| |||
0 commit comments