Skip to content

Commit 80522a2

Browse files
authored
Bump compatibility for Colors and FixedPointNumbers (#115)
This requires a change in tolerance for one test.
1 parent 4974ecf commit 80522a2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ColorVectorSpace"
22
uuid = "c3611d14-8923-5661-9e6a-0046d554d3a4"
3-
version = "0.8.0"
3+
version = "0.8.1"
44

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

1414
[compat]
1515
ColorTypes = "0.8"
16-
Colors = "0.9"
17-
FixedPointNumbers = "0.5, 0.6"
16+
Colors = "0.9, 0.10"
17+
FixedPointNumbers = "0.5, 0.6, 0.7"
1818
SpecialFunctions = "0.7, 0.8, 0.9"
1919
StatsBase = "0.28, 0.29, 0.30, 0.31, 0.32"
2020
julia = "1"

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ end
226226
@test (f*cu).r f*cu.r
227227
@test cf/2.0f0 == RGB{Float32}(0.05,0.1,0.15)
228228
@test cu/2 RGB(cu.r/2,cu.g/2,cu.b/2)
229-
@test cu/0.5f0 == RGB(cu.r/0.5f0, cu.g/0.5f0, cu.b/0.5f0)
229+
@test cu/0.5f0 RGB(cu.r/0.5f0, cu.g/0.5f0, cu.b/0.5f0)
230230
@test cf+cf == ccmp
231231
@test cu * 1//2 == mapc(x->Float64(Rational(x)/2), cu)
232232
@test_colortype_approx_eq (cf.*[0.8f0])[1] RGB{Float32}(0.8*0.1,0.8*0.2,0.8*0.3)

0 commit comments

Comments
 (0)