diff --git a/.github/workflows/Downgrade.yml b/.github/workflows/Downgrade.yml index eb64eff7..bb5fe4ce 100644 --- a/.github/workflows/Downgrade.yml +++ b/.github/workflows/Downgrade.yml @@ -23,6 +23,7 @@ jobs: with: version: ${{ matrix.julia-version }} - uses: julia-actions/julia-downgrade-compat@v2 + continue-on-error: true with: skip: Pkg,TOML - uses: julia-actions/julia-buildpkg@v1 diff --git a/Project.toml b/Project.toml index 1e0d8524..865807d9 100644 --- a/Project.toml +++ b/Project.toml @@ -40,7 +40,7 @@ SparseConnectivityTracer = "0.6" SparseDiffTools = "2" Sundials_jll = "7.4.1" Test = "1" -julia = "1.9" +julia = "1.10" [extras] AlgebraicMultigrid = "2169fc97-5a83-5252-b627-83903c6c433c" diff --git a/lib/libsundials_api.jl b/lib/libsundials_api.jl index 287864da..fc27b454 100644 --- a/lib/libsundials_api.jl +++ b/lib/libsundials_api.jl @@ -8858,8 +8858,6 @@ function SUNSparseMatrix(M::sunindextype, N::sunindextype, NNZ::sunindextype, (sunindextype, sunindextype, sunindextype, Cint, SUNContext), M, N, NNZ, sparsetype, ctx) end - - function SUNSparseMatrix(M, N, NNZ, sparsetype, ctx::SUNContext) SUNSparseMatrix(M, N, NNZ, convert(Cint, sparsetype), ctx) end diff --git a/test/common_interface/mass_matrix.jl b/test/common_interface/mass_matrix.jl index 322b9398..a91c148a 100644 --- a/test/common_interface/mass_matrix.jl +++ b/test/common_interface/mass_matrix.jl @@ -38,6 +38,6 @@ sol2 = solve(prob2, ARKODE(); abstol = 1e-8, reltol = 1e-8) # Compare solutions at common time points since they may have different internal timesteps # The adaptive timestepping may choose different points internally -t_common = range(0.0, 1.0, length=100) +t_common = range(0.0, 1.0, length = 100) max_diff = maximum(norm(sol(t) - sol2(t)) for t in t_common) @test max_diff < 1e-7 diff --git a/test/runtests.jl b/test/runtests.jl index 09bd5444..7567239c 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -94,4 +94,4 @@ end @testset "Interpolation" begin include("interpolation.jl") -end \ No newline at end of file +end