Skip to content

Commit

Permalink
Update coom.jl
Browse files Browse the repository at this point in the history
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.
```
  • Loading branch information
Mohamed Sayed committed Sep 12, 2023
1 parent 7cc7ab2 commit d4c16d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coom.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)

"""
Expand Down

0 comments on commit d4c16d7

Please sign in to comment.