From 0fb643cb9bdc8e7e71fea848832543293c5216bf Mon Sep 17 00:00:00 2001 From: sebapersson Date: Fri, 15 Nov 2024 17:36:32 +0100 Subject: [PATCH] Update Julia compat --- Project.toml | 2 +- test/inline_assignment_rules.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index f10ddd68..6b0dc9f8 100644 --- a/Project.toml +++ b/Project.toml @@ -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" diff --git a/test/inline_assignment_rules.jl b/test/inline_assignment_rules.jl index 8b349939..107f2abb 100644 --- a/test/inline_assignment_rules.jl +++ b/test/inline_assignment_rules.jl @@ -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 @@ -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