Skip to content

Commit af449af

Browse files
Merge pull request #87 from SciML/ordinarydiffeq
Test new OrdinaryDiffEq
2 parents 61de32c + 3d8694f commit af449af

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ LabelledArrays = "1"
2424
LinearAlgebra = "1"
2525
Optimization = "3"
2626
OptimizationOptimJL = "0.1"
27-
OrdinaryDiffEq = "6"
27+
OrdinaryDiffEq = "6.65"
2828
Pkg = "1"
2929
Random = "1"
3030
RecursiveArrayTools = "2, 3"

test/core_nesteddual.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ function objfun(x, prob, realsol, cache)
102102
return ofv
103103
end
104104

105-
fn(x, p) = objfun(x, p[1], p[2], p[3])
106-
107105
optfun = OptimizationFunction(fn, Optimization.AutoForwardDiff())
108106
optprob = OptimizationProblem(optfun, zeros(length(coeffs)), (prob, realsol, cache))
109107
newtonsol2 = solve(optprob, Newton())

test/core_odes.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ using LinearAlgebra,
22
OrdinaryDiffEq, Test, PreallocationTools, LabelledArrays,
33
RecursiveArrayTools
44

5-
# upstream
6-
OrdinaryDiffEq.DiffEqBase.anyeltypedual(x::FixedSizeDiffCache, counter = 0) = Any
7-
85
#Base array
96
function foo(du, u, (A, tmp), t)
107
tmp = get_tmp(tmp, u)

0 commit comments

Comments
 (0)