From 9ff8d092bbb750d01d6963aa1d9acd94fedc2414 Mon Sep 17 00:00:00 2001 From: Adrian Hill Date: Wed, 31 Jan 2024 23:36:16 +0100 Subject: [PATCH] Remove unused type variable --- src/preprocessing.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preprocessing.jl b/src/preprocessing.jl index c24e27fa..0ee1697a 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