Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Aug 7, 2024
1 parent 6562947 commit 3c0e7b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/interface/autodiff_error_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ end
u0 = [1.0; 0.0; 0.0]
tspan = (0.0, 1.0)
prob = ODEProblem(lorenz!, u0, tspan)
@test_throws OrdinaryDiffEqCore.OrdinaryDiffEqDifferentiation.FirstAutodiffJacError solve(prob, Rosenbrock23())
@test_throws OrdinaryDiffEqDifferentiation.FirstAutodiffJacError solve(prob, Rosenbrock23())

function lorenz2!(du, u, p, t)
du[1] = 10.0(u[2] - u[1])
Expand All @@ -42,7 +42,7 @@ function lorenz2!(du, u, p, t)
du[3] = u[1] * u[2] - (8 / 3) * u[3]
end
prob = ODEProblem(lorenz2!, u0, tspan)
@test_throws OrdinaryDiffEqCore.OrdinaryDiffEqDifferentiation.FirstAutodiffTgradError solve(prob, Rosenbrock23())
@test_throws OrdinaryDiffEqDifferentiation.FirstAutodiffTgradError solve(prob, Rosenbrock23())

## Test that nothing is using duals when autodiff=false
## https://discourse.julialang.org/t/rodas4-using-dual-number-for-time-with-autodiff-false/98256
Expand Down
1 change: 0 additions & 1 deletion test/interface/dae_initialize_integration.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using ModelingToolkit, OrdinaryDiffEq, Test
using

@parameters t g e b
@variables v(t) w(t) F(t)
Expand Down

0 comments on commit 3c0e7b5

Please sign in to comment.