Skip to content

Commit 37092f1

Browse files
committed
lower tol
1 parent d70a470 commit 37092f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/bvproblem.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### TODO: update when BoundaryValueDiffEqAscher is updated to use the normal boundary condition conventions
22

3-
using BoundaryValueDiffEq, OrdinaryDiffEq, BoundaryValueDiffEqAscher
3+
using BoundaryValueDiffEq, OrdinaryDiffEqDefault, BoundaryValueDiffEqAscher
44
using BenchmarkTools
55
using ModelingToolkit
66
using SciMLBase
@@ -166,7 +166,7 @@ let
166166
@test sol1 sol2 sol3
167167
end
168168

169-
function test_solvers(solvers, prob, u0map, constraints, equations = []; dt = 0.05, atol = 1e-3)
169+
function test_solvers(solvers, prob, u0map, constraints, equations = []; dt = 0.05, atol = 1e-2)
170170
for solver in solvers
171171
println("Solver: $solver")
172172
sol = @btime solve($prob, $solver(), dt = $dt, abstol = $atol)
@@ -214,7 +214,7 @@ let
214214
bvp = SciMLBase.BVProblem{true, SciMLBase.AutoSpecialize}(lksys, u0map, tspan; guesses)
215215
test_solvers(solvers, bvp, u0map, constr; dt = 0.05)
216216

217-
# Testing that more complicated constr give correct solutions.
217+
# Testing that more complicated constraints give correct solutions.
218218
constr = [y(.2) + x(.8) ~ 3., y(.3) ~ 2.]
219219
@mtkbuild lksys = ODESystem(eqs, t; constraints = constr)
220220
bvp = SciMLBase.BVProblem{false, SciMLBase.FullSpecialize}(lksys, u0map, tspan; guesses)

0 commit comments

Comments
 (0)