Commit 2684ede
Fix numpy 2.4 compat: use .item() for array-to-scalar conversion
nYearsPool is a 2D array; indexing one dimension yields a 1-element
array which numpy 2.4 no longer allows int() on directly.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 6a911bf commit 2684ede
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | | - | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
71 | | - | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
0 commit comments