Commit a6ab097
committed
Fixes type annotation for numpy arrays
Corrects type annotations for numpy arrays to allow for a broader range of numpy dtypes and resolves type checking errors.
Removes NumPy DTypeLike type hint
Updates type hints for NumPy compatibility by removing DTypeLike.
Ensures alignment with NumPy's typing system, preventing potential
type-related issues.1 parent c278aff commit a6ab097
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
| |||
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
29 | | - | |
| 27 | + | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
| |||
80 | 78 | | |
81 | 79 | | |
82 | 80 | | |
83 | | - | |
| 81 | + | |
84 | 82 | | |
85 | 83 | | |
86 | 84 | | |
| |||
0 commit comments