diff --git a/.gitignore b/.gitignore index 42f07ea..b6f8b8d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.jl.cov *.jl.mem +Manifest.toml diff --git a/.travis.yml b/.travis.yml index acfefb4..e3bcc01 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,8 @@ os: - linux - osx julia: - - 0.6 - - 0.7 + - 1.0 + - 1.1 - nightly notifications: email: false @@ -14,4 +14,4 @@ notifications: # - julia --check-bounds=yes -e 'Pkg.clone(pwd()); Pkg.build("AxisAlgorithms"); Pkg.test("AxisAlgorithms"; coverage=true)' after_success: # push coverage results to Codecov - - julia -e 'cd(Pkg.dir("AxisAlgorithms")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())' + - julia -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())' diff --git a/Project.toml b/Project.toml new file mode 100644 index 0000000..9039cf8 --- /dev/null +++ b/Project.toml @@ -0,0 +1,19 @@ +name = "AxisAlgorithms" +uuid = "13072b0f-2c55-5437-9ae7-d433b7a33950" +author = ["Tim Holy "] +version = "1.0.0" + +[deps] +LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" +Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" +SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" +WoodburyMatrices = "efce3f68-66dc-5838-9240-27a6d6f5f9b6" + +[compat] +julia = "1" + +[extras] +Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" + +[targets] +test = ["Test"] diff --git a/REQUIRE b/REQUIRE deleted file mode 100644 index bb5bf41..0000000 --- a/REQUIRE +++ /dev/null @@ -1,3 +0,0 @@ -julia 0.6 -WoodburyMatrices -Compat 0.70 diff --git a/src/AxisAlgorithms.jl b/src/AxisAlgorithms.jl index 2f6bf47..bf6fa71 100644 --- a/src/AxisAlgorithms.jl +++ b/src/AxisAlgorithms.jl @@ -1,10 +1,7 @@ -__precompile__() - module AxisAlgorithms using WoodburyMatrices -using Compat -using Compat.LinearAlgebra, Compat.SparseArrays +using LinearAlgebra, SparseArrays export A_ldiv_B_md!, A_ldiv_B_md, diff --git a/test/runtests.jl b/test/runtests.jl index e9679f9..b65dda9 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,5 +1,5 @@ -using AxisAlgorithms, Compat -using Compat.Test, Compat.LinearAlgebra, Compat.SparseArrays, Compat.Random +using AxisAlgorithms +using Test, LinearAlgebra, SparseArrays, Random include("tridiag.jl") include("matmul.jl") diff --git a/test/woodbury.jl b/test/woodbury.jl index a8bb3d3..c6172a4 100644 --- a/test/woodbury.jl +++ b/test/woodbury.jl @@ -14,8 +14,8 @@ W = Woodbury(F, U, C, V) src = rand(5, 8) @test W\src ≈ AxisAlgorithms.A_ldiv_B_md(W, src, 1) -src = rand(5, 5, 5) -for dim = 1:3 +src = rand(5, 5, 5, 5) +for dim = 1:4 dest1 = mapslices(x->W\x, copy(src), dims=dim) dest2 = similar(src) AxisAlgorithms.A_ldiv_B_md!(dest2, W, src, dim)