Skip to content

Commit 282c3e8

Browse files
committed
NEWS: Move scalar index dropping to breaking changes
ref #13612 (comment)
1 parent 1614113 commit 282c3e8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

NEWS.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ Breaking changes
107107

108108
This section lists changes that do not have deprecation warnings.
109109

110+
* All dimensions indexed by scalars are now dropped, whereas previously only
111+
trailing scalar dimensions would be omitted from the result ([#13612]). This
112+
is a very major behavioral change, but should cause obvious failures. To retain
113+
a dimension sliced with a scalar `i` slice with `i:i` instead.
114+
110115
* The assignment operations `.+=`, `.*=` and so on now generate calls
111116
to `broadcast!` on the left-hand side (or call to `view(a, ...)` on the left-hand side
112117
if the latter is an indexing expression, e.g. `a[...]`). This means that they will fail
@@ -192,11 +197,6 @@ Library improvements
192197

193198
* Arrays and linear algebra:
194199

195-
* All dimensions indexed by scalars are now dropped, whereas previously only
196-
trailing scalar dimensions would be omitted from the result ([#13612]). This
197-
is a very major behavioral change, but should cause obvious failures. To retain
198-
a dimension sliced with a scalar `i` slice with `i:i` instead.
199-
200200
* Dimensions indexed by multidimensional arrays add dimensions. More generally, the
201201
dimensionality of the result is the sum of the dimensionalities of the indices ([#15431]).
202202

0 commit comments

Comments
 (0)