From 282c3e88b7322def5125335d32e6793838c73619 Mon Sep 17 00:00:00 2001 From: Tony Kelman Date: Wed, 3 Aug 2016 04:05:04 -0700 Subject: [PATCH] NEWS: Move scalar index dropping to breaking changes ref https://github.com/JuliaLang/julia/pull/13612#issuecomment-236778544 --- NEWS.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/NEWS.md b/NEWS.md index 696c696a0ac1d..1f964f74bc429 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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 @@ -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]).