File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -793,10 +793,9 @@ as a 2-tuple.
793
793
794
794
The value returned for empty `itr` can be specified by `init`. It must be a 2-tuple whose
795
795
first and second elements are neutral elements for `min` and `max` respectively
796
- (i.e. which are greater/less than or equal to any other element). It is used for non-empty
797
- collections. Note: it implies that, for empty `itr`, the returned value `(mn, mx)` satisfies
798
- `mn ≥ mx` even though for non-empty `itr` it satisfies `mn ≤ mx`. This is a "paradoxical"
799
- but yet expected result.
796
+ (i.e. which are greater/less than or equal to any other element). As a consequence, when
797
+ `itr` is empty the returned `(mn, mx)` tuple will satisfy `mn ≥ mx`. When `init` is
798
+ specified it may be used even for non-empty `itr`.
800
799
801
800
!!! compat "Julia 1.8"
802
801
Keyword argument `init` requires Julia 1.8 or later.
You can’t perform that action at this time.
0 commit comments