Skip to content

Commit

Permalink
Merge pull request #87 from SciML/ordinarydiffeq
Browse files Browse the repository at this point in the history
Test new OrdinaryDiffEq
  • Loading branch information
ChrisRackauckas authored Dec 27, 2023
2 parents 61de32c + 3d8694f commit af449af
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ LabelledArrays = "1"
LinearAlgebra = "1"
Optimization = "3"
OptimizationOptimJL = "0.1"
OrdinaryDiffEq = "6"
OrdinaryDiffEq = "6.65"
Pkg = "1"
Random = "1"
RecursiveArrayTools = "2, 3"
Expand Down
2 changes: 0 additions & 2 deletions test/core_nesteddual.jl
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ function objfun(x, prob, realsol, cache)
return ofv
end

fn(x, p) = objfun(x, p[1], p[2], p[3])

optfun = OptimizationFunction(fn, Optimization.AutoForwardDiff())
optprob = OptimizationProblem(optfun, zeros(length(coeffs)), (prob, realsol, cache))
newtonsol2 = solve(optprob, Newton())
Expand Down
3 changes: 0 additions & 3 deletions test/core_odes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ using LinearAlgebra,
OrdinaryDiffEq, Test, PreallocationTools, LabelledArrays,
RecursiveArrayTools

# upstream
OrdinaryDiffEq.DiffEqBase.anyeltypedual(x::FixedSizeDiffCache, counter = 0) = Any

#Base array
function foo(du, u, (A, tmp), t)
tmp = get_tmp(tmp, u)
Expand Down

0 comments on commit af449af

Please sign in to comment.