Commit b64e5c9
MAINT: Prevent OverflowError in multiplication (#230)
* MAINT: Prevent OverflowError in multiplication
In newer numpy versions the multiplication of ndarrays containing uint8 results in uint8. Here this leads to an OverflowError. Therefore changing to an uint64 before the multiplication prevents this.
---------
Co-authored-by: Christian Bespin <cbespin@uni-bonn.de>1 parent 248ae12 commit b64e5c9
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments