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
I noticed this trying to convert a missing angle using deg2rad,
julia>deg2rad(missing)
ERROR: MethodError: no method matching deg2rad(::Missing)
Closest candidates are:deg2rad(::AbstractFloat) at math.jl:178...
but it turns out there are a number of other Base.math functions with no method defined for Missings (e.g. asec, acoth, hypot...) . The loop here only defines Missing methods for a subset of the module's exported functions. Fix should be as easy as adding those names to the loop (unless there's some good reason to keep those methods undefined).
The text was updated successfully, but these errors were encountered:
Realized this is a partial duplicate of #32224. This PR will add missing methods for atan, hypot, and angle, but not all the similar functions exported by Base.math.
I noticed this trying to convert a
missing
angle usingdeg2rad
,but it turns out there are a number of other
Base.math
functions with no method defined forMissing
s (e.g.asec
,acoth
,hypot
...) . The loop here only definesMissing
methods for a subset of the module's exported functions. Fix should be as easy as adding those names to the loop (unless there's some good reason to keep those methods undefined).The text was updated successfully, but these errors were encountered: