Commit 25d2108
authored
as identified by
- #9975
this benchmark was panicking when run, because it was passing a 1-len
array as an `ArrayRef` instead of a `Scalar` and thus indexing the
2nd/3rd element was causing out of bounds panic; when wrapped in
`Scalar` the single element will be repeated so it wouldn't index out of
bounds it would just get the first element
1 parent 5555ee9 commit 25d2108
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
0 commit comments