Skip to content

Commit

Permalink
NEWS: Move scalar index dropping to breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tkelman committed Aug 3, 2016
1 parent 1614113 commit 282c3e8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ Breaking changes

This section lists changes that do not have deprecation warnings.

* All dimensions indexed by scalars are now dropped, whereas previously only
trailing scalar dimensions would be omitted from the result ([#13612]). This
is a very major behavioral change, but should cause obvious failures. To retain
a dimension sliced with a scalar `i` slice with `i:i` instead.

* The assignment operations `.+=`, `.*=` and so on now generate calls
to `broadcast!` on the left-hand side (or call to `view(a, ...)` on the left-hand side
if the latter is an indexing expression, e.g. `a[...]`). This means that they will fail
Expand Down Expand Up @@ -192,11 +197,6 @@ Library improvements

* Arrays and linear algebra:

* All dimensions indexed by scalars are now dropped, whereas previously only
trailing scalar dimensions would be omitted from the result ([#13612]). This
is a very major behavioral change, but should cause obvious failures. To retain
a dimension sliced with a scalar `i` slice with `i:i` instead.

* Dimensions indexed by multidimensional arrays add dimensions. More generally, the
dimensionality of the result is the sum of the dimensionalities of the indices ([#15431]).

Expand Down

0 comments on commit 282c3e8

Please sign in to comment.