@@ -8,7 +8,7 @@ import Base: ==, +, -, *, /, ^, <, ~
88import Base: abs, abs2, clamp, convert, copy, div, eps, isfinite, isinf,
99 isnan, isless, length, mapreduce, oneunit,
1010 promote_op, promote_rule, zero, trunc, floor, round, ceil, bswap,
11- mod, rem, atan2 , hypot, max, min, real, typemin, typemax
11+ mod, rem, atan , hypot, max, min, real, typemin, typemax
1212import LinearAlgebra: norm
1313import StatsBase: histrange, varm
1414import SpecialFunctions: gamma, lgamma, lfact
@@ -255,7 +255,7 @@ abs2(c::AbstractGray) = gray(c)^2
255255abs2 (c:: AbstractGray{T} ) where {T<: Normed } = Float32 (gray (c))^ 2
256256abs2 (c:: TransparentGray ) = gray (c)^ 2 + alpha (c)^ 2
257257abs2 (c:: TransparentGrayNormed ) = Float32 (gray (c))^ 2 + Float32 (alpha (c))^ 2
258- atan2 (x:: Gray , y:: Gray ) = atan2 (convert (Real, x), convert (Real, y))
258+ atan (x:: Gray , y:: Gray ) = atan (convert (Real, x), convert (Real, y))
259259hypot (x:: Gray , y:: Gray ) = hypot (convert (Real, x), convert (Real, y))
260260norm (c:: TransparentGray ) = sqrt (abs2 (c))
261261
0 commit comments