Skip to content

Commit 83ee7eb

Browse files
squash! An initial sketch
1 parent 201c12b commit 83ee7eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vfindextrema.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ function vfindextrema(f::F, initmin::Iₘᵢₙ, initmax::Iₘₐₓ, A::Abstrac
2020
end
2121
((mn, i_mn), (mx, i_mx))
2222
end
23-
vfindextrema(A) = vfindextrema(identity, typemax, typemin, A)
2423
vfindextrema(f, A) = vfindextrema(f, typemax, typemin, A)
24+
vfindextrema(A) = vfindextrema(identity, typemax, typemin, A)
2525

2626
_rf_findextrema((((fm₁, im₁), (fx₁, ix₁))), (((fm₂, im₂), (fx₂, ix₂)))) =
2727
((Base.isgreater(fm₁, fm₂) ? (fm₂, im₂) : (fm₁, im₁)), (isless(fx₁, fx₂) ? (fx₂, ix₂) : (fx₁, ix₁)))

0 commit comments

Comments
 (0)