Skip to content

Commit eadbc9e

Browse files
github-actions[bot]CompatHelper JuliaSimonDanisch
authored
CompatHelper: bump compat for StatsBase to 0.34, (keep existing compat) (#1025)
* CompatHelper: bump compat for StatsBase to 0.34, (keep existing compat) * use isapprox, to be resilient against floatingpoint errors --------- Co-authored-by: CompatHelper Julia <[email protected]> Co-authored-by: Simon <[email protected]>
1 parent 401d146 commit eadbc9e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ IndirectArrays = "0.5, 1"
5151
IntegralArrays = "0.1"
5252
Reexport = "1.1"
5353
StaticArrays = "0.8, 0.9, 0.10, 0.11, 0.12, 1.0"
54-
StatsBase = "0.24, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30, 0.31, 0.32, 0.33"
54+
StatsBase = "0.24, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30, 0.31, 0.32, 0.33, 0.34"
5555
Suppressor = "0.2"
5656
TiledIteration = "0.2, 0.3"
5757
julia = "1.3"

test/exposure.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ eye(m,n) = Matrix{Float64}(I,m,n)
3737
img = reinterpret(Gray{N0f8}, [0x00,0x40,0x80,0xd0])
3838
@test imhist(img, 5) == (0.0:0.2:1.0,[0,1,1,1,0,1,0])
3939
img = reinterpret(Gray{N0f8}, [0x00,0x40,0x80,0xff])
40-
@test imhist(img, 6) == (0.0:0.2:1.2,[0,1,1,1,0,0,1,0])
40+
@test all(().(imhist(img, 6), (0.0:0.2:1.2,[0,1,1,1,0,0,1,0])))
4141

4242
# Consider an image where each intensity occurs only once and vary the number
4343
# of bins used in the histogram in powers of two. With the exception of the

0 commit comments

Comments
 (0)