Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed May 20, 2024
1 parent 6137ab5 commit 0b42acc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/src/examples/ode/second_order_adjoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ode_data = Array(solve(prob_trueode, Tsit5(), saveat = tsteps))
dudt2 = Chain(x -> x .^ 3, Dense(2, 50, tanh), Dense(50, 2))
ps, st = Lux.setup(Random.default_rng(), dudt2)
function neuralodefunc(u,p,t)
function neuralodefunc(u, p, t)
dudt2(u, p, st)[1]
end
function prob_neuralode(u0, p)
Expand Down
4 changes: 2 additions & 2 deletions docs/src/manual/differential_equation_sensitivities.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ differentiation). Generally:

- Continuous sensitivity analysis methods only support a subset of
equations, which currently includes:

+ ODEProblem (with mass matrices for differential-algebraic equations (DAEs)
+ SDEProblem
+ SteadyStateProblem / NonlinearProblem
Expand Down Expand Up @@ -110,7 +110,7 @@ is:
`TrackerAdjoint` with an out-of-place definition may currently be the best option.

!!! note

Compatibility with direct automatic differentiation algorithms (`ForwardDiffSensitivity`,
`ReverseDiffAdjoint`, etc.) can be queried using the
`SciMLBase.isautodifferentiable(::SciMLAlgorithm)` trait function.
Expand Down

0 comments on commit 0b42acc

Please sign in to comment.