Commit 56030dd
committed
Explicitly project ref-values to range of short integral types
This resolves NumPy warning issues upon `rhs_array == scalar` where
scalar is Python integer not range of the array's dtype.1 parent 66677aa commit 56030dd
1 file changed
+21
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
44 | 58 | | |
45 | 59 | | |
46 | 60 | | |
| |||
702 | 716 | | |
703 | 717 | | |
704 | 718 | | |
705 | | - | |
706 | | - | |
| 719 | + | |
| 720 | + | |
707 | 721 | | |
708 | 722 | | |
709 | 723 | | |
| |||
722 | 736 | | |
723 | 737 | | |
724 | 738 | | |
725 | | - | |
| 739 | + | |
| 740 | + | |
726 | 741 | | |
727 | 742 | | |
728 | 743 | | |
| |||
741 | 756 | | |
742 | 757 | | |
743 | 758 | | |
744 | | - | |
| 759 | + | |
| 760 | + | |
745 | 761 | | |
746 | 762 | | |
747 | 763 | | |
| |||
775 | 791 | | |
776 | 792 | | |
777 | 793 | | |
| 794 | + | |
778 | 795 | | |
779 | 796 | | |
780 | 797 | | |
| |||
0 commit comments