Skip to content

Commit

Permalink
Update Julia compat
Browse files Browse the repository at this point in the history
  • Loading branch information
sebapersson committed Nov 15, 2024
1 parent e4f0dd1 commit 0fb643c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ SciMLBase = "2.39"
Setfield = "1"
SpecialFunctions = "2"
Test = "1"
julia = "1"
julia = "1.10"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Expand Down
4 changes: 2 additions & 2 deletions test/inline_assignment_rules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sys = structural_simplify(convert(ODESystem, prn2.rn))
oprob2 = ODEProblem(sys, prn2.u0, (0.0, 10.0), prn2.p)
sol2 = solve(oprob2, Rodas5P(), abstol=1e-3, reltol=1e-8)
for name in unknowns(sys)
@test all(.≈(sol1[name], sol2[name], atol = 1e-9))
@test all(.≈(sol1[name], sol2[name], atol = 1e-6))
end

# Published model with lots of edge cases. The model has a log in it making it not possible
Expand All @@ -33,5 +33,5 @@ u0 = first.(prn2.u0) .=> 0.0
oprob2 = ODEProblem(sys, prn2.u0, (0.0, 10.0), prn2.p)
sol2 = solve(oprob2, Rodas5P(), abstol=1e-3, reltol=1e-8, saveat=1:10)
for name in unknowns(sys)
@test all(.≈(sol1[name], sol2[name], atol = 1e-9))
@test all(.≈(sol1[name], sol2[name], atol = 1e-6))
end

0 comments on commit 0fb643c

Please sign in to comment.