Skip to content

Commit add1246

Browse files
authored
Add NEWS.md entry
[ci skip]
1 parent 11a8d2e commit add1246

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

NEWS.md

+8
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ Language changes
2020
to the `Core` module ([#29968]).
2121
* Using the same name for both a local variable and a static parameter is now an error instead
2222
of a warning ([#29429]).
23+
* `findall(in(b), a)` now returns a `CartesianIndex` when `a` is a matrix or a higher-dimensional array,
24+
for consistency with other `findall` methods. Use `LinearIndices(a)[findall(in(b), a)]` to get
25+
the old behavior, or `CartesianIndices(a)[findall(in(b), a)]` to get the new behavior
26+
on previous Julia versions ([#30226]).
27+
* `findmin(::BitArray)` and `findmax(::BitArray)` now return a `CartesianIndex` when `a` is a matrix
28+
or a higher-dimensional array, for consistency with for other array types.
29+
Use `LinearIndices(a)[findmin(a)[2]]` to get the old behavior, or `CartesianIndices(a)[findmin(a)[2]]`
30+
to get the new behavior on previous Julia versions ([#30102]).
2331

2432
Command-line option changes
2533
---------------------------

0 commit comments

Comments
 (0)