Skip to content

Commit

Permalink
Bump compatibility for Colors and FixedPointNumbers (#115)
Browse files Browse the repository at this point in the history
This requires a change in tolerance for one test.
  • Loading branch information
timholy authored Dec 18, 2019
1 parent 4974ecf commit 80522a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "ColorVectorSpace"
uuid = "c3611d14-8923-5661-9e6a-0046d554d3a4"
version = "0.8.0"
version = "0.8.1"

[deps]
ColorTypes = "3da002f7-5984-5a60-b8a6-cbb66c0b333f"
Expand All @@ -13,8 +13,8 @@ StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"

[compat]
ColorTypes = "0.8"
Colors = "0.9"
FixedPointNumbers = "0.5, 0.6"
Colors = "0.9, 0.10"
FixedPointNumbers = "0.5, 0.6, 0.7"
SpecialFunctions = "0.7, 0.8, 0.9"
StatsBase = "0.28, 0.29, 0.30, 0.31, 0.32"
julia = "1"
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ end
@test (f*cu).r f*cu.r
@test cf/2.0f0 == RGB{Float32}(0.05,0.1,0.15)
@test cu/2 RGB(cu.r/2,cu.g/2,cu.b/2)
@test cu/0.5f0 == RGB(cu.r/0.5f0, cu.g/0.5f0, cu.b/0.5f0)
@test cu/0.5f0 RGB(cu.r/0.5f0, cu.g/0.5f0, cu.b/0.5f0)
@test cf+cf == ccmp
@test cu * 1//2 == mapc(x->Float64(Rational(x)/2), cu)
@test_colortype_approx_eq (cf.*[0.8f0])[1] RGB{Float32}(0.8*0.1,0.8*0.2,0.8*0.3)
Expand Down

2 comments on commit 80522a2

@timholy
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/6880

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.8.1 -m "<description of version>" 80522a2fbd176dcf701ef4584fda2290c5876504
git push origin v0.8.1

Please sign in to comment.