Skip to content

Commit 32835c2

Browse files
authored
Merge pull request #83 from JuliaGraphics/fbot/deps
Run femtocleaner
2 parents de47acb + 2a50fb7 commit 32835c2

File tree

3 files changed

+111
-111
lines changed

3 files changed

+111
-111
lines changed

images/comparison.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using Colors
22

3-
Base.mean{C<:Color}(c1::C,c2::C) = convert(C, (convert(XYZ, c1) + convert(XYZ, c2))/2) # colorimetrically "proper"
3+
Base.mean(c1::C,c2::C) where {C<:Color} = convert(C, (convert(XYZ, c1) + convert(XYZ, c2))/2) # colorimetrically "proper"
44

55
# RGB linear vector space averaging
6-
function meanrgb{C<:AbstractRGB}(c1::C, c2::C)
6+
function meanrgb(c1::C, c2::C) where C<:AbstractRGB
77
C((red(c1)+red(c2))/2,
88
(green(c1)+green(c2))/2,
99
(blue(c1)+blue(c2))/2)

0 commit comments

Comments
 (0)