From 572836ad82ae4b0ef792930f9772cc0dfddb8823 Mon Sep 17 00:00:00 2001 From: Sebastian Stock <42280794+sostock@users.noreply.github.com> Date: Mon, 15 Mar 2021 14:01:49 +0100 Subject: [PATCH] Add NEWS.md entry for change noted in #39589 --- NEWS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NEWS.md b/NEWS.md index 423629c7263ab..ad41fb40a1876 100644 --- a/NEWS.md +++ b/NEWS.md @@ -164,6 +164,10 @@ Standard library changes results table ([#38042]). * `@testset` now supports the option `verbose` to show the test result summary of the children even if they all pass ([#33755]). +* In `LinearIndices(::Tuple)` and `CartesianIndices(::Tuple)`, integers (as opposed to ranges of integers) in the + argument tuple now consistently describe 1-based ranges, e.g, `CartesianIndices((3, 1:3))` is equivalent to + `CartesianIndices((1:3, 1:3))`. This is how tuples of integers have always been documented to work, but a + bug had caused erroneous behaviors with heterogeneous tuples containing both integers and ranges ([#37829], [#37928]). #### Package Manager