Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/Downgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 0 additions & 2 deletions lib/libsundials_api.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/common_interface/mass_matrix.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ end

@testset "Interpolation" begin
include("interpolation.jl")
end
end
Loading