Skip to content

Commit

Permalink
Merge pull request #1035 from JuliaDiffEq/kg/daetest
Browse files Browse the repository at this point in the history
Fix DAE Convergence test
  • Loading branch information
ChrisRackauckas committed Feb 16, 2020
2 parents 651a545 + 9822a75 commit e96a97f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/algconvergence/dae_convergence_tests.jl
Expand Up @@ -22,10 +22,10 @@ prob_dae_linear_iip = DAEProblem(
@test sim12.𝒪est[:final] 1 atol=testTol

sim13 = test_convergence(dts,prob,DABDF2())
@test sim11.𝒪est[:final] 1 atol=testTol
@test sim13.𝒪est[:final] 2 atol=testTol

sim14 = test_convergence(dts,prob,DABDF2(;autodiff=false))
@test sim12.𝒪est[:final] 1 atol=testTol
@test sim14.𝒪est[:final] 2 atol=testTol
end

f_dae_linear = (du, u, p, t) -> (@. du - u)
Expand All @@ -45,8 +45,8 @@ prob_dae_linear_oop = DAEProblem(
@test sim22.𝒪est[:final] 1 atol=testTol

sim23 = test_convergence(dts,prob,DABDF2())
@test sim21.𝒪est[:final] 1 atol=testTol
@test sim23.𝒪est[:final] 2 atol=testTol

sim24 = test_convergence(dts,prob,DABDF2(;autodiff=false))
@test sim22.𝒪est[:final] 1 atol=testTol
@test sim24.𝒪est[:final] 2 atol=testTol
end

0 comments on commit e96a97f

Please sign in to comment.