Commit 507ca83
authored
Fixes a test failure on 32-bit platforms (e.g. i386) due to NumPy
refusing to safely cast between int64 and int32 in the .repeat() call.
Casting the number of intervals to np.intp ensures compatibility with
the platform's expected integer size for indexing operations, preventing
the TypeError observed on i386.
1 parent e171b1a commit 507ca83
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
578 | | - | |
| 578 | + | |
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
| |||
0 commit comments