Skip to content

Commit 793a020

Browse files
committed
Reword a comment slightly
1 parent 194c329 commit 793a020

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

base/multidimensional.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1603,7 +1603,8 @@ _extrema_dims(f::F, A::AbstractArray, ::Colon, init) where {F} =
16031603
_extrema_dims(f::F, A::AbstractArray, ::Colon, ::_InitialValue) where {F} =
16041604
mapreduce(_DupY(f), _extrema_rf, A)
16051605
# Note: not passing `init = _InitialValue()` since user-defined
1606-
# `reduce`/`foldl` cannot be aware of `Base._InitialValue`.
1606+
# `reduce`/`foldl` cannot be aware of `Base._InitialValue` that is an
1607+
# internal implementation detail.
16071608

16081609
_extrema_dims(f::F, A::AbstractArray, dims, init) where {F} =
16091610
mapreduce(_DupY(f), _extrema_rf, A; dims = dims, init = init)

0 commit comments

Comments
 (0)