You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix docs build for OrdinaryDiffEq v7: load solver subpackages explicitly
OrdinaryDiffEq v7 dropped its blanket @reexport, so `OrdinaryDiffEq.OrdinaryDiffEqXXX`
no longer resolves and `make.jl` died with `UndefVarError` at the makedocs `modules`
list. Load each OrdinaryDiffEq *and* StochasticDiffEq solver subpackage by bare name
and list them directly (mirroring OrdinaryDiffEq.jl's own docs build), rather than
relying on the meta-packages to reexport them; add them as deps + compat.
Also in this commit:
- Bump AlgebraicMultigrid compat to allow v2 (PR #868). v2's SPQR coarse solver fixes
the non-SPD preconditioner crash that v1's Pinv/SVD coarse solver hits.
- Add LinearSolve as a docs dependency (used by advanced_ode_example.md, previously
only available transitively).
- Bring the OrdinaryDiffEqCore controller API symbols into Main so the unqualified
@ref links in the copied controllers.md resolve.
- Drop OrdinaryDiffEq's contributor-internal devtools pages from the user docs: their
@eval blocks read paths relative to OrdinaryDiffEq's own build layout and cannot
build when embedded in DiffEqDocs.
- Guard the StochasticDiffEq API nav section, which is empty now that StochasticDiffEq
ships no docs/ directory in the v7 monorepo.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Update executed doc examples for DifferentialEquations v8 + RecursiveArrayTools v4
With OrdinaryDiffEq v7 pinned, the resolver takes DifferentialEquations v8, which now
only `@reexport`s SciMLBase + OrdinaryDiffEq (documented in index.md/getting_started.md).
Executed @example blocks that reached for symbols no longer reexported through
`DE.` therefore errored. Source each from the package it now lives in:
- ensemble.md: `DE.SRIW1` -> `SDE.SRIW1` (StochasticDiffEq)
- dde_example.md: `DE.RK4` -> `ODELow.RK4` (OrdinaryDiffEqLowOrderRK)
- callback_functions.md, spiking_neural_systems.md: `DE.PresetTimeCallback`
-> `CB.PresetTimeCallback` (DiffEqCallbacks)
- callback_functions.md: `DE.resize!` -> `resize!` (Base, extended for integrators)
Also:
- advanced_ode_example.md: preconditioner `precs` functions returned `(Pl, nothing)`,
but Krylov.jl now calls `ldiv!` on the right preconditioner; return `(Pl, I)` so the
identity right-preconditioner has an `ldiv!` method. (LinearSolve `import` was already
used here; LinearSolve is added as a docs dep in the previous commit.)
- faq.md: `solve(...)[end]` returned a scalar under RecursiveArrayTools v4 (AbstractArray
indexing), breaking the downstream ForwardDiff/FiniteDiff jacobian blocks; use
`.u[end]` to get the final state vector.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Fix pre-existing spell-check failures blocking docs CI
The Spell Check (typos) job has been failing on master and every PR. Fix the two
real typos and allowlist the proper noun so the check passes:
- classical_physics.md: ContiunousCallback -> ContinuousCallback
- bvp_solve.md: prblem -> problem
- .typos.toml: allowlist `Lamba` (the surname in the Lamba & Rackauckas methods
LambaEM / LambaEulerHeun; typos mis-flags it as "Lambda")
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@@ -168,6 +170,7 @@ The Hodgkin-Huxley (HH) model is our first biophysically realistic model. This m
168
170
169
171
```@example spikingneural
170
172
import DifferentialEquations as DE
173
+
import DiffEqCallbacks as CB
171
174
import Plots
172
175
173
176
# Potassium ion-channel rate functions
@@ -198,7 +201,7 @@ We have three different types of ionic conductances. Potassium, sodium and the l
198
201
The sodium current is not very different, but it has two gating variables, `m, h` instead of one. The leak conductance gL has no gating variables because it is not voltage gated. Let's move on to the parameters. If you want all the details on the HH model, you can find a great description [here](https://neuronaldynamics.epfl.ch/online/Ch2.S2.html).
@@ -331,7 +334,7 @@ Plots.plot(sol, vars = [5, 6])
331
334
Because of the time courses at play here, this facilitation is frequency-dependent. If we increase the period between these events, facilitation does not occur.
0 commit comments