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
Is there a way to return a default value such as NaN or 0 instead of throwing a BoundsError when there is no value within array a in the vicinity of a given index? Similar to the behaviour of DefaultDict and DefaultOrderedDict · DataStructures.jl
The text was updated successfully, but these errors were encountered:
Is there a way to return a default value such as
NaN
or0
instead of throwing aBoundsError
when there is no value within arraya
in the vicinity of a given index? Similar to the behaviour of DefaultDict and DefaultOrderedDict · DataStructures.jlThe text was updated successfully, but these errors were encountered: