Skip to content

Commit

Permalink
Merge pull request #287 from JuliaGraphics/yyc/0.7
Browse files Browse the repository at this point in the history
Fix most of 0.7 depwarns
  • Loading branch information
yuyichao authored Jul 12, 2017
2 parents c9fad51 + 6fe722f commit 92957f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ os:
- linux
julia:
- 0.5
- 0.6
- nightly
notifications:
email: false
Expand Down
2 changes: 1 addition & 1 deletion src/colormaps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function sequential_palette(h,
pend=convert(LCHuv, dcolor)

#multi-hue start point
p2l=100*(1.-w)+w*pstart.l
p2l = 100 * (1. - w) + w * pstart.l
p2h=MixHue(w,h,pstart.h)
p2c=min(MSC(p2h,p2l), w*s*pstart.c)
p2=LCHuv(p2l,p2c,p2h)
Expand Down
2 changes: 1 addition & 1 deletion test/conversion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ end

# Test vector space operations
import Base.full
full(T::Color) = map(x->getfield(T, x), fieldnames(T)) #Allow test to access numeric elements
full(T::Color) = map(x->getfield(T, x), fieldnames(typeof(T))) #Allow test to access numeric elements
# Generated from:
#=
julia> for t in subtypes(ColorValue)
Expand Down

0 comments on commit 92957f7

Please sign in to comment.