Skip to content

Commit

Permalink
Fix deprecations (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
femtocleaner[bot] authored and timholy committed Jul 1, 2018
1 parent 9f8d823 commit 10dcee8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/WoodburyMatrices.jl
@@ -1,4 +1,5 @@
isdefined(Base, :__precompile__) && __precompile__()
__precompile__()


module WoodburyMatrices

Expand Down Expand Up @@ -141,7 +142,7 @@ julia> r*c*v - Diagonal([2.0, 3.0, 4.0])
```
"""
function sparse_factors(::Type{T}, n::Int, args::@compat(Tuple{Int, Int, Any})...) where {T}
function sparse_factors(::Type{T}, n::Int, args::Tuple{Int, Int, Any}...) where {T}
m = length(args)
rows = spzeros(T, n, m)
cols = spzeros(T, m, n)
Expand Down

0 comments on commit 10dcee8

Please sign in to comment.