We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0ab840 commit 47064daCopy full SHA for 47064da
src/ColorVectorSpace.jl
@@ -51,7 +51,7 @@ _nan{T<:AbstractFloat,C<:AbstractRGB}(::Type{T}, ::Type{C}) = (x = convert(T, Na
51
_nan{T<:AbstractFloat,C<:TransparentRGB}(::Type{T}, ::Type{C}) = (x = convert(T, NaN); C(x,x,x,x))
52
53
## Generic algorithms
54
-mapreduce(f, op::Union{typeof(@functorize(&)), typeof(@functorize(|))}, a::MathTypes) = f(a) # ambiguity
+mapreduce(f, op::Union{typeof(&), typeof(|)}, a::MathTypes) = f(a) # ambiguity
55
mapreduce(f, op, a::MathTypes) = f(a)
56
Base.r_promote(::typeof(+), c::MathTypes) = mapc(x->Base.r_promote(+, x), c)
57
0 commit comments