You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, if f might return nothing, I can call findmax(f, xs; by=x->isnothing(x) ? -Inf : x) to get the maximum value and its index in one pass while treating the nothing values as -Inf for the purpose of comparison.
Uh oh!
There was an error while loading. Please reload this page.
For example, if
f
might returnnothing
, I can callfindmax(f, xs; by=x->isnothing(x) ? -Inf : x)
to get the maximum value and its index in one pass while treating thenothing
values as-Inf
for the purpose of comparison.The text was updated successfully, but these errors were encountered: