From d4c16d746a24278d2a14acd8f0a006b97e2d391e Mon Sep 17 00:00:00 2001 From: Mohamed Sayed Date: Tue, 12 Sep 2023 12:00:04 +0300 Subject: [PATCH] Update coom.jl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove unused type due to installation warning ``` TextAnalysis [a2db99b7-8b79-58f8-94bf-bbc811eef33d] │ WARNING: method definition for #CooMatrix#80 at /home/opto/.julia/packages/TextAnalysis/Exn5l/src/coom.jl:148 declares type variable T but does not use it. ``` --- src/coom.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coom.jl b/src/coom.jl index d95343fc..b57f030e 100644 --- a/src/coom.jl +++ b/src/coom.jl @@ -145,7 +145,7 @@ function CooMatrix{T}(doc; window::Int=5, normalize::Bool=true) where T<:Abstrac CooMatrix{T}(doc, terms, window=window, normalize=normalize) end -CooMatrix(doc; window::Int=5, normalize::Bool=true) where T<:AbstractFloat = +CooMatrix(doc; window::Int=5, normalize::Bool=true) = CooMatrix{Float64}(doc, window=window, normalize=normalize) """