diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4ae060a..6c02d82f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,9 +45,9 @@ jobs: ${{ runner.os }}-test- ${{ runner.os }}- - uses: julia-actions/julia-buildpkg@v1 - continue-on-error: ${{ matrix.julia-version == 'nightly' }} + # continue-on-error: ${{ matrix.julia-version == 'nightly' }} - uses: julia-actions/julia-runtest@v1 - continue-on-error: ${{ matrix.julia-version == 'nightly' }} + # continue-on-error: ${{ matrix.julia-version == 'nightly' }} - uses: julia-actions/julia-processcoverage@v1 - uses: coverallsapp/github-action@master with: diff --git a/Project.toml b/Project.toml index 63c0c7f9..9e6937ad 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "TaylorSeries" uuid = "6aa5eb33-94cf-58f4-a9d0-e4b2c4fc25ea" repo = "https://github.com/JuliaDiff/TaylorSeries.jl.git" -version = "0.11.4" +version = "0.11.5" [deps] LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" diff --git a/test/mixtures.jl b/test/mixtures.jl index bec3d77b..0c7e08fe 100644 --- a/test/mixtures.jl +++ b/test/mixtures.jl @@ -4,7 +4,7 @@ using TaylorSeries using Test -using LinearAlgebra, SparseArrays +using LinearAlgebra @testset "Tests with mixtures of Taylor1 and TaylorN" begin @test TaylorSeries.NumberNotSeries == Union{Real,Complex} diff --git a/test/onevariable.jl b/test/onevariable.jl index b94180f6..7b52c3c5 100644 --- a/test/onevariable.jl +++ b/test/onevariable.jl @@ -613,6 +613,8 @@ end ainv = inv(a) b = Taylor1.(a, 5) binv = inv(b) + c = Symmetric(b) + cinv = inv(c) tol = 1.0e-11 for its = 1:10 @@ -620,11 +622,19 @@ end ainv .= inv(a) b .= Taylor1.(a, 5) binv .= inv(b) + c .= Symmetric(Taylor1.(a, 5)) + cinv .= inv(c) @test norm(binv - ainv, Inf) ≤ tol @test norm(b*binv - I, Inf) ≤ tol @test norm(binv*b - I, Inf) ≤ tol @test norm(triu(b)*inv(UpperTriangular(b)) - I, Inf) ≤ tol @test norm(inv(LowerTriangular(b))*tril(b) - I, Inf) ≤ tol + ainv .= inv(Symmetric(a)) + @test norm(cinv - ainv, Inf) ≤ tol + @test norm(c*cinv - I, Inf) ≤ tol + @test norm(cinv*c - I, Inf) ≤ tol + @test norm(triu(c)*inv(UpperTriangular(c)) - I, Inf) ≤ tol + @test norm(inv(LowerTriangular(c))*tril(c) - I, Inf) ≤ tol b .= b .+ t binv .= inv(b) @@ -632,6 +642,10 @@ end @test norm(binv*b - I, Inf) ≤ tol @test norm(triu(b)*inv(triu(b)) - I, Inf) ≤ tol @test norm(inv(tril(b))*tril(b) - I, Inf) ≤ tol + c .= Symmetric(b) + cinv .= inv(c) + @test norm(c*cinv - I, Inf) ≤ tol + @test norm(cinv*c - I, Inf) ≤ tol end end