Skip to content

Commit

Permalink
Merge pull request #7 from tkelman/patch-1
Browse files Browse the repository at this point in the history
also test 0.3 on Travis
  • Loading branch information
timholy committed Jan 8, 2016
2 parents be3a696 + c08a7f5 commit 02e7067
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ os:
- linux
- osx
julia:
- 0.3
- release
- nightly
notifications:
Expand Down
1 change: 1 addition & 0 deletions REQUIRE
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
julia 0.3
Docile
Compat
3 changes: 2 additions & 1 deletion src/WoodburyMatrices.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module WoodburyMatrices
if VERSION < v"0.4.0-dev"
using Docile
end
using Compat

import Base: *, \, A_ldiv_B!, convert, copy, det, full, show, similar, size

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

0 comments on commit 02e7067

Please sign in to comment.