From 3678ab3d6b8a5804cff7279715c3107fff772b0e Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Tue, 23 Jul 2019 01:15:40 +0800 Subject: [PATCH] fix syntax error and test utils.jl --- src/BinarizationAPI/binarize.jl | 2 +- test/runtests.jl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/BinarizationAPI/binarize.jl b/src/BinarizationAPI/binarize.jl index f6b6c6d..9318ec4 100644 --- a/src/BinarizationAPI/binarize.jl +++ b/src/BinarizationAPI/binarize.jl @@ -34,7 +34,7 @@ end function binarize(::Type{T}, img, f::AbstractImageBinarizationAlgorithm, - args...; kwargs...) + args...; kwargs...) where T out = Array{T}(undef, size(img)) binarize!(out, img, f, args...; kwargs...) return out diff --git a/test/runtests.jl b/test/runtests.jl index a35c8fa..dc566d6 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -9,6 +9,7 @@ include("testutils.jl") @testset "ImageBinarization.jl" begin include("util.jl") + # include("adaptive_threshold.jl") # include("balanced.jl") # include("entropy.jl") # include("intermodes.jl")