diff --git a/Project.toml b/Project.toml index ca68f6a54..b638ea65a 100644 --- a/Project.toml +++ b/Project.toml @@ -34,7 +34,7 @@ Boltz = "1" ChainRulesCore = "1" ComponentArrays = "0.15.17" ConcreteStructs = "0.2" -DataInterpolations = "5, 6" +DataInterpolations = "6.4" DelayDiffEq = "5.47.3" DiffEqCallbacks = "3.6.2" Distances = "0.10.11" diff --git a/docs/src/examples/multiple_shooting.md b/docs/src/examples/multiple_shooting.md index b48dd8e8f..2a6d3ca70 100644 --- a/docs/src/examples/multiple_shooting.md +++ b/docs/src/examples/multiple_shooting.md @@ -86,7 +86,7 @@ group_size = 3 continuity_term = 200 l1, preds = multiple_shoot(ps, ode_data, tsteps, prob_node, loss_function, - Tsit5(), group_size; continuity_term) + Tsit5(), group_size; continuity_term) function loss_function(data, pred) return sum(abs2, data - pred) diff --git a/docs/src/examples/neural_ode.md b/docs/src/examples/neural_ode.md index da9174bda..74b97b7d9 100644 --- a/docs/src/examples/neural_ode.md +++ b/docs/src/examples/neural_ode.md @@ -58,7 +58,7 @@ function callback(state, l; doplot = false) end pinit = ComponentArray(p) -callback((;u = pinit), loss_neuralode(pinit); doplot = true) +callback((; u = pinit), loss_neuralode(pinit); doplot = true) # use Optimization.jl to solve the problem adtype = Optimization.AutoZygote() @@ -74,7 +74,7 @@ optprob2 = remake(optprob; u0 = result_neuralode.u) result_neuralode2 = Optimization.solve( optprob2, Optim.BFGS(; initial_stepnorm = 0.01); callback, allow_f_increases = false) -callback((;u = result_neuralode2.u), loss_neuralode(result_neuralode2.u); doplot = true) +callback((; u = result_neuralode2.u), loss_neuralode(result_neuralode2.u); doplot = true) ``` ![Neural ODE](https://user-images.githubusercontent.com/1814174/88589293-e8207f80-d026-11ea-86e2-8a3feb8252ca.gif)