diff --git a/src/preprocessing.jl b/src/preprocessing.jl index c24e27f..0ee1697 100644 --- a/src/preprocessing.jl +++ b/src/preprocessing.jl @@ -212,7 +212,7 @@ function _channelview(img) return chview end -function _colorview(C::Type{<:Color}, img) where T +function _colorview(C::Type{<:Color}, img) if size(img, 1) == 1 img = reshape(img, size(img)[2:end]) end