Commit a4cd68c
Fix performance regression in broadcasting with CartesianIndices (#39333)
* Fix performance regression in broadcasting with CartesianIndices
This avoids the boundary check due to a change in the implementation
of iteration using `CartecianIndices` in PR #37829.
This is a workaround on the caller side and does not change
the iteration mechanism itself.
Co-authored-by: Matt Bauman <[email protected]>
Co-authored-by: thofma <[email protected]>1 parent 9af1877 commit a4cd68c
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
977 | 977 | | |
978 | 978 | | |
979 | 979 | | |
980 | | - | |
981 | | - | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
982 | 984 | | |
983 | 985 | | |
984 | 986 | | |
| |||
0 commit comments