Commit 64fcd54
Adopt suggestions.
1. remove `check_reducedims` within `mapfirst!`.
`init_array!` for other reductions also skip this check.
it should be safe to remove it as we add no `@inbounds`
2. remove unneeded `getindex`.
Co-Authored-By: Andrew Radcliffe <96091198+andrewjradcliffe@users.noreply.github.com>1 parent 73e8da5 commit 64fcd54
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
273 | 272 | | |
274 | 273 | | |
275 | 274 | | |
| |||
1120 | 1119 | | |
1121 | 1120 | | |
1122 | 1121 | | |
1123 | | - | |
1124 | 1122 | | |
1125 | 1123 | | |
1126 | 1124 | | |
| |||
0 commit comments