Repository navigation
Commit 9fef2f3
committed
Do these computations with signed integers.
This is because NumPy contains a booby trap where if you multiply an
unsigned integer with a plain Python 'int', you will get back a float:
numpy/numpy#57451 parent 60fd73c commit 9fef2f3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
540 | | - | |
| 540 | + | |
541 | 541 | | |
542 | 542 | | |
543 | 543 | | |
| |||
0 commit comments