Commit d260b44
committed
Further improve
... by simply assuring that `idx` is an array.bin1d_vec (4): Avoid 3x try/except cases by always operating on arrays1 parent 9b9c1df commit d260b44
1 file changed
+5
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
| 108 | + | |
| 109 | + | |
115 | 110 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
| 111 | + | |
| 112 | + | |
125 | 113 | | |
126 | 114 | | |
127 | 115 | | |
| |||
0 commit comments